diff options
author | bk2dcradle <ankitsultana@gmail.com> | 2016-01-05 13:34:10 +0530 |
---|---|---|
committer | bk2dcradle <ankitsultana@gmail.com> | 2016-01-05 13:34:10 +0530 |
commit | 0e3ed9579b296e276741f06afe8e0a9834672b9e (patch) | |
tree | d01a82820ee8a7fb41583cdbf9119583d3fe8004 /whip.html.markdown | |
parent | a5730e4ab931b8355704d35ee08acef75435bd83 (diff) | |
parent | 4dc5eeda5528047ece4f5798cff6961b0bc21dcb (diff) |
Reset to Adambard's
Diffstat (limited to 'whip.html.markdown')
-rw-r--r-- | whip.html.markdown | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/whip.html.markdown b/whip.html.markdown index 61c301a5..e7e5e427 100644 --- a/whip.html.markdown +++ b/whip.html.markdown @@ -9,7 +9,7 @@ filename: whip.lisp --- Whip is a LISP-dialect made for scripting and simplified concepts. -It has also borrowed a lot of functions and syntax from Haskell(a non-related language). +It has also borrowed a lot of functions and syntax from Haskell (a non-related language). These docs were written by the creator of the language himself. So is this line. @@ -172,12 +172,12 @@ 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) -; to each item in the following arg(which should be a list) +; `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) ; Reduce |