121b9e26f ^
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
discard """ output: "1\n2\n3" """ type MyConcept = concept x someProc(x) SomeSeq = seq[MyConcept] proc someProc(x:int) = echo x proc work (s: SomeSeq) = for item in s: someProc item var s = @[1, 2, 3] work s