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
|
|
@ -33,7 +33,7 @@ from that model.
|
|||
# Prints the maximum integer from a list of integers
|
||||
# delimited by whitespace read from stdin.
|
||||
let tokens = stdin.readLine.split
|
||||
echo tokens.each(parseInt).max, " is the maximum."
|
||||
echo tokens.map(parseInt).max, " is the maximum."
|
||||
|
||||
|
||||
Nimrod is efficient
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue