template to(a, b): untyped = a..b
    
    for i in 0.to(5):
      echo i
    
    
    Run

You're better off using `..` though because every Nim programmer knows it and 
eventually it will be familiar to you too.

Reply via email to