Hacker News new | ask | show | jobs
by cb321 933 days ago
FWIW, the Nim analogue of `static if` would be `when` statements.

EDIT: or any of mratsim sibling's fine choices. Nim is Choice and has many uncommon compile-time powers.