2 ms·
It wasn't a direct port of the Python one. Instead I mostly followed the guide and looked at the Python code when something was unclear to me. Nim being statica
by def- 12y ago
It wasn't a direct port of the Python one. Instead I mostly followed the guide and looked at the Python code when something was unclear to me. Nim being statically typed meant I had to create many MalTypes instead of just using the built in Python ones. But nothing particularly challenging.
- def- 12y agoNow that I think about it, I could have used implicit converters to make it look more like Python, but that would probably lead to confusion.