Hello, sometimes in C++ I write something like this to avoid extra indentation levels: for(int i = 0; i < 10; i++) if(cond(i)) { doSomething(); ... } Run
When I do the same thing in Nim, I get "Error: nestable statement requires indentation". I can write something line this: for i in 0..<10: (if cond(i): doSomething() ) Run but I would like to get rid of those parentheses, it's like going back to curly braces syntax. I ended up writing a `forif` macro. But then I would have to write a macro for every combo. Is there a better way to do this?