cmodule.nim 80 B

12345
  1. iterator cycle*[T](s: openArray[T]): T =
  2. let s = @s
  3. for x in s:
  4. yield x