git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge branch 'master' of github.com:paf31/purescript
commit4816b7e7b71b970a05b70e7d031458079499eefc authorPhil Freeman <paf31@cantab.net> dateFri 23 May 2014, 15:06 (12 years ago) parentc6ce20bebea00c
1 file changed+14
docs/source/syntax.rst+14
docs/source/syntax.rst+14
@@ -250,3 +250,17 @@ The ``where`` keyword can also be used to introduce local declarations `at the e
250250 go acc 1 = acc
251251 go acc n = go (acc * n) (n - 1)
252252
253+Comments
254+--------
255+
256+A single line comment starts with ``--``::
257+
258+ -- This is a comment
259+
260+Multi-line comments are enclosed in ``{-`` and ``-}``. These can be nested::
261+
262+ {- Comment {- nested comment -} continued comment -}
263+
264+
265+
266+