@trtt did you read the converters part of the manual? You can have a sum type(variant) and to write in your array stuff like 2 "4" [2] and it would be automatically converted to the same sum type (but different kind). I think this is a more Nim solution: I wouldn't want to construct a special list just to pass it to your library.
[https://nim-lang.org/docs/manual.html#converters](https://nim-lang.org/docs/manual.html#converters)
