summary refs log tree commit diff stats
path: root/web
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 /web
parentd0bd5d5cc3407e14ff37590077ec40441be26c84 (diff)
downloadNim-91700f29e718e41026b536d72b9ff010a4574bf2.tar.gz
Renames each proc to map, each is left deprecated.
Diffstat (limited to 'web')
-rwxr-xr-xweb/index.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/index.txt b/web/index.txt
index 207e425ae..99beb3743 100755
--- a/web/index.txt
+++ b/web/index.txt
@@ -33,7 +33,7 @@ from that model.
     # Prints the maximum integer from a list of integers
     # delimited by whitespace read from stdin.
     let tokens = stdin.readLine.split
-    echo tokens.each(parseInt).max, " is the maximum."
+    echo tokens.map(parseInt).max, " is the maximum."
 
 
 Nimrod is efficient
n33'>33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57