summary refs log tree commit diff stats
path: root/web/snippets
diff options
context:
space:
mode:
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!"