mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-17 13:38:38 +01:00
[whip/en] Fix typos
This commit is contained in:
parent
5b0db44e7c
commit
0e1a77c065
@ -172,11 +172,11 @@ undefined ; user to indicate a value that hasn't been set
|
||||
; Comprehensions
|
||||
|
||||
; `range` or `..` generates a list of numbers for
|
||||
; each number between it's two args.
|
||||
; each number between its two args.
|
||||
(range 1 5) ; => (1 2 3 4 5)
|
||||
(.. 0 2) ; => (0 1 2)
|
||||
|
||||
; `map` applies it's first arg(which should be a lambda/function)
|
||||
; `map` applies its first arg (which should be a lambda/function)
|
||||
; to each item in the following arg (which should be a list)
|
||||
(map (-> (x) (+ x 1)) (1 2 3)) ; => (2 3 4)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user