Quick actions

cmd+k|ctrl+k

Navigation

Languages

Untitled

Snippet info

Language

Nim

Visibility

unlisted

Author

legacy-anonymous

Created

2017-04-13T14:05:44Z

Updated

2017-04-13T14:05:44Z

import macros

macro where(n: untyped): typed =
  result = newStmtList()
  for i in n.len-1..0:
    result.add(n[i])

where:
  echo 1
  
where:
  echo a
  let a = b
  let b = 1
INFO