summary refs log tree commit diff stats
path: root/doc
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 /doc
parentd0bd5d5cc3407e14ff37590077ec40441be26c84 (diff)
downloadNim-91700f29e718e41026b536d72b9ff010a4574bf2.tar.gz
Renames each proc to map, each is left deprecated.
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/tut2.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut2.txt b/doc/tut2.txt
index 9f9dbe2db..11b1b1dd5 100755
--- a/doc/tut2.txt
+++ b/doc/tut2.txt
@@ -218,7 +218,7 @@ So "pure object oriented" code is easy to write:
   import strutils
   
   stdout.writeln("Give a list of numbers (separated by spaces): ")
-  stdout.write(stdin.readLine.split.each(parseInt).max.`$`)
+  stdout.write(stdin.readLine.split.map(parseInt).max.`$`)
   stdout.writeln(" is the maximum!")