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`.
- Ternary conditional operator Pixeye
- Re: Ternary conditional operator doofenstein
- Re: Ternary conditional operator Pixeye
- Re: Ternary conditional operator cblake