diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2010-02-28 18:14:27 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2010-02-28 18:14:27 +0100 |
commit | ddb718548278290a1c25c1bbfba82bc5581457a7 (patch) | |
tree | 47d98e4dcd47a5821680c7da250f98ab19f4b16b /web/snippets | |
parent | 230567588b22674e6132411803a518a9a901ff50 (diff) | |
download | Nim-ddb718548278290a1c25c1bbfba82bc5581457a7.tar.gz |
bugfixes: re; pegs module
Diffstat (limited to 'web/snippets')
-rwxr-xr-x | web/snippets/snippet1.nim | 2 |
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!" |