summary refs log tree commit diff stats
path: root/examples/maximum.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/maximum.nim')
-rw-r--r--examples/maximum.nim12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/maximum.nim b/examples/maximum.nim
index ac6160f76..6552a8144 100644
--- a/examples/maximum.nim
+++ b/examples/maximum.nim
@@ -1,6 +1,6 @@
-# Test high level features

-

-import strutils

-

-echo "Give a list of numbers (separated by spaces): "

-stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!")

+# Test high level features
+
+import strutils, sequtils
+
+echo "Give a list of numbers (separated by spaces): "
+stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!")