diff options
Diffstat (limited to 'examples/maximum.nim')
-rw-r--r-- | examples/maximum.nim | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/maximum.nim b/examples/maximum.nim deleted file mode 100644 index 3c43a48c9..000000000 --- a/examples/maximum.nim +++ /dev/null @@ -1,6 +0,0 @@ -# Shows how the method call syntax can be used to chain calls conveniently. - -import strutils, sequtils - -echo "Give a list of numbers (separated by spaces): " -stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!") |