diff options
author | Araq <rumpf_a@web.de> | 2011-09-21 00:54:13 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-09-21 00:54:13 +0200 |
commit | 2359b8b1073cfd027ac14a147aba06cc18d61010 (patch) | |
tree | a626a08e54311512f40d6ce1a40ffd397dab9cfa /lib/system.nim | |
parent | 57f184cf48a0b522001ab20e2c742d4d6436e14d (diff) | |
download | Nim-2359b8b1073cfd027ac14a147aba06cc18d61010.tar.gz |
fixed some newly introduced bugs
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-x | lib/system.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 3fc4733b2..ea004b925 100755 --- a/lib/system.nim +++ b/lib/system.nim @@ -1288,8 +1288,7 @@ proc pop*[T](s: var seq[T]): T {.inline, noSideEffect.} = result = s[L] setLen(s, L) -proc each*[T, S](data: openArray[T], op: proc (x: T): S): seq[S] {. - noSideEffect.} = +proc each*[T, S](data: openArray[T], op: proc (x: T): S): seq[S] = ## The well-known ``map`` operation from functional programming. Applies ## `op` to every item in `data` and returns the result as a sequence. newSeq(result, data.len) |