t12558.nim 157 B

12345678910111213141516
  1. discard """
  2. nimout: '''@["1", "2", "3"]'''
  3. """
  4. import sequtils
  5. {.push compile_time.}
  6. proc foo =
  7. echo map_it([1, 2, 3], $it)
  8. {.pop.}
  9. static:
  10. foo()