summary refs log tree commit diff stats
path: root/web/snippets
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2010-02-28 18:14:27 +0100
committerAndreas Rumpf <rumpf_a@web.de>2010-02-28 18:14:27 +0100
commitddb718548278290a1c25c1bbfba82bc5581457a7 (patch)
tree47d98e4dcd47a5821680c7da250f98ab19f4b16b /web/snippets
parent230567588b22674e6132411803a518a9a901ff50 (diff)
downloadNim-ddb718548278290a1c25c1bbfba82bc5581457a7.tar.gz
bugfixes: re; pegs module
Diffstat (limited to 'web/snippets')
-rwxr-xr-xweb/snippets/snippet1.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/snippets/snippet1.nim b/web/snippets/snippet1.nim
index 05359a0e0..85cb98142 100755
--- a/web/snippets/snippet1.nim
+++ b/web/snippets/snippet1.nim
@@ -1,4 +1,4 @@
 import strutils
 echo "Give a list of integers (separated by spaces): ", 
-     stdin.readLine.splitSeq.each(parseInt).max,
+     stdin.readLine.split.each(parseInt).max,
      " is the maximum!"