In any case, I think that in Nim a more idiomatic solutions would to use tuples 
instead, which are of course isomoprhic. One cannot used recursion with tuples, 
but that can be easily circumvented with macros.

Reply via email to