diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-01-22 20:29:07 +0100 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-01-22 21:41:26 +0100 |
commit | 91700f29e718e41026b536d72b9ff010a4574bf2 (patch) | |
tree | c35bc1437c704f72be04299d0836cb9a3b244327 /examples | |
parent | d0bd5d5cc3407e14ff37590077ec40441be26c84 (diff) | |
download | Nim-91700f29e718e41026b536d72b9ff010a4574bf2.tar.gz |
Renames each proc to map, each is left deprecated.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/maximum.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/maximum.nim b/examples/maximum.nim index 1e26ee1a7..ac6160f76 100755 --- a/examples/maximum.nim +++ b/examples/maximum.nim @@ -3,4 +3,4 @@ import strutils echo "Give a list of numbers (separated by spaces): " -stdin.readLine.split.each(parseInt).max.`$`.echo(" is the maximum!") +stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!") |