Renames each proc to map, each is left deprecated.

This commit is contained in:
Grzegorz Adam Hankiewicz 2013-01-22 20:29:07 +01:00
commit 91700f29e7
7 changed files with 48 additions and 12 deletions

View file

@ -3,4 +3,4 @@
import strutils
echo "Give a list of numbers (separated by spaces): "
stdin.readLine.split.each(parseInt).max.`$`.echo(" is the maximum!")
stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!")