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

@ -218,7 +218,7 @@ So "pure object oriented" code is easy to write:
import strutils
stdout.writeln("Give a list of numbers (separated by spaces): ")
stdout.write(stdin.readLine.split.each(parseInt).max.`$`)
stdout.write(stdin.readLine.split.map(parseInt).max.`$`)
stdout.writeln(" is the maximum!")