Merge pull request #1981 from nyanfly/whip

[whip/en] Fix typos
This commit is contained in:
Spurlow 2015-11-02 18:49:44 +08:00
commit 51db840c79

View File

@ -172,11 +172,11 @@ undefined ; user to indicate a value that hasn't been set
; Comprehensions ; Comprehensions
; `range` or `..` generates a list of numbers for ; `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) (range 1 5) ; => (1 2 3 4 5)
(.. 0 2) ; => (0 1 2) (.. 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) ; to each item in the following arg (which should be a list)
(map (-> (x) (+ x 1)) (1 2 3)) ; => (2 3 4) (map (-> (x) (+ x 1)) (1 2 3)) ; => (2 3 4)