Renames each proc to map, each is left deprecated.
This commit is contained in:
parent
d0bd5d5cc3
commit
91700f29e7
7 changed files with 48 additions and 12 deletions
|
|
@ -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!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue