Also see this recent thread 
[https://forum.nim-lang.org/t/6060](https://forum.nim-lang.org/t/6060) and note 
that "compile-time if" aka `when` can also be used in expressions as in `let i 
= when defined(nimRulez): 1 else: 2`.

Reply via email to