summaryrefslogtreecommitdiffhomepage
path: root/livescript.html.markdown
diff options
context:
space:
mode:
authorPer Lilja <perlilja@gmail.com>2015-10-21 13:28:36 +0200
committerPer Lilja <perlilja@gmail.com>2015-10-21 13:28:36 +0200
commit3f8b067a0cace44bb43bdd08561b0efc747fb26c (patch)
tree1e17c3f1968f7b2f97ea9f84ca0098224ff60786 /livescript.html.markdown
parentd1a822f96c88855b2cbb649a4ea7b452e4104164 (diff)
parentef6973b13f50063462d28a96ac57e93aed40844c (diff)
Merge pull request #1 from adambard/master
Update fork
Diffstat (limited to 'livescript.html.markdown')
-rw-r--r--livescript.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/livescript.html.markdown b/livescript.html.markdown
index e64f7719..9235f5ce 100644
--- a/livescript.html.markdown
+++ b/livescript.html.markdown
@@ -166,7 +166,7 @@ not false # => true
########################################################################
## 3. Functions
-########################################################################
+########################################################################
# Since LiveScript is functional, you'd expect functions to get a nice
# treatment. In LiveScript it's even more apparent that functions are
@@ -229,7 +229,7 @@ double-minus-one = (- 1) . (* 2)
# Other than the usual `f . g` mathematical formulae, you get the `>>`
# and `<<` operators, that describe how the flow of values through the
-# functions.
+# functions.
double-minus-one = (* 2) >> (- 1)
double-minus-one = (- 1) << (* 2)
@@ -344,7 +344,7 @@ kitten.hug! # => "*Mei (a cat) is hugged*"
## Further reading
There's just so much more to LiveScript, but this should be enough to
-get you started writing little functional things in it. The
+get you started writing little functional things in it. The
[official website](http://livescript.net/) has a lot of information on the
language, and a nice online compiler for you to try stuff out!