diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2015-10-27 23:36:00 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2015-10-27 23:36:00 +0100 |
commit | 3892969af4a3c6f509b553f07b2a7f37aa8de967 (patch) | |
tree | f4ac158a72b3f520848a479ee4faa8dd68792738 /examples/maximum.nim | |
parent | c7eaa8ae034fc22fcb91770f94e08f7c1ebb9963 (diff) | |
parent | d9415fd5cebdc44385cdd092f2c49060c09e2631 (diff) | |
download | Nim-3892969af4a3c6f509b553f07b2a7f37aa8de967.tar.gz |
Merge branch 'devel'
Diffstat (limited to 'examples/maximum.nim')
-rw-r--r-- | examples/maximum.nim | 12 |
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!") |