summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-01-22 20:29:07 +0100
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-01-22 21:41:26 +0100
commit91700f29e718e41026b536d72b9ff010a4574bf2 (patch)
treec35bc1437c704f72be04299d0836cb9a3b244327 /examples
parentd0bd5d5cc3407e14ff37590077ec40441be26c84 (diff)
downloadNim-91700f29e718e41026b536d72b9ff010a4574bf2.tar.gz
Renames each proc to map, each is left deprecated.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/maximum.nim2
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!")