documentation improvements; system.nim docs adapted to unix's braindead idea of how software should be packaged which didn't work in 1970 and surprise doesn't work in 2015 either

This commit is contained in:
Araq 2015-10-21 02:18:38 +02:00
commit 3d512a73e6
2 changed files with 1 additions and 9 deletions

View file

@ -215,7 +215,7 @@ postfix notation.)
So "pure object oriented" code is easy to write:
.. code-block:: nim
import strutils
import strutils, sequtils
stdout.writeLine("Give a list of numbers (separated by spaces): ")
stdout.write(stdin.readLine.split.map(parseInt).max.`$`)