summaryrefslogtreecommitdiffhomepage
path: root/livescript.html.markdown
diff options
context:
space:
mode:
authorVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-08 22:15:32 +0200
committerVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-08 22:15:32 +0200
commit838701b917bb914f3483b6e9233920a752d20f82 (patch)
treea430654109b2f8e6a47eddf057f86d73630314a7 /livescript.html.markdown
parent4d619e9b0fc4a061fa720b47b22068c8661e9be6 (diff)
parentabd7444f9e5343f597b561a69297122142881fc8 (diff)
Merge branch 'master' into translation/json-cs
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!