> Any thoughts?
This is a bug. I'll fix it.
Seems to me that there is a bug in delete in strutils if the last parameter is
bigger than the length of the string.
To demonstrate, this first example prints 'kev' as you would expect:
var s : string
s = "kevin"
s.delete(3, 4)
echo s
Run
But if I change
I'm trying to learn Nim by translating existing Python code and one area I got
stuck is to come up with simple coroutines. In Python, you can send back a
value to the generator which can receive the value from yield statement. I
found Nim has coro standard module for coroutines, but I'd be more
I usually ignore the `const`. :-)
[Nim4Colab repository](https://github.com/demotomohiro/nim4colab)
[My blog
post](https://internet-of-tomohiro.netlify.com/google_colab/nim4colab.en.html)
You can use [Nim](https://forum.nim-lang.org/postActivity.xml#nim) language on
[Google Colaboratory](https://colab.research.google.com/) by u
What can we do? Ignore the C++ const? Create a different wrapper object for the
mutable and immutable parts? Set a bit for constness in the wrapper object?
So how does Nim free memory when \--newruntime -d:useMalloc are used? Is it
some kind of ref-counted gc based on destructors? That would be perfect for
hooking usecase.
Hey, I have a thought, if you faced that type of bug related problem then you
will do one thing just browse some review and that will be fine for all. Also,
use a router and by this, you will get a strong network and by which your
problem will be solved properly. If you need any information abou