Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Some types have a tyNone when they have no right hand side of their type definition (like magics array and seq). In some places of the code this appears to have been used like a sentinel value. It seems better to handle this in a different way and not construct invalid objects of these types.
Some types have a tyNone when they have no right hand side of their type definition (like magics array and seq). In some places of the code this appears to have been used like a sentinel value. It seems better to handle this in a different way and not construct invalid objects of these types.