diff options
Diffstat (limited to 'docs/guide/04_syntax.md')
| -rw-r--r-- | docs/guide/04_syntax.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/guide/04_syntax.md b/docs/guide/04_syntax.md index 29361f7..e4c79bc 100644 --- a/docs/guide/04_syntax.md +++ b/docs/guide/04_syntax.md @@ -29,12 +29,21 @@ expression simply by adding a `#` character in front. #(this is a comment) + #also-a-comment + #(this is a long, multi-line comment, (and it also has nested parentheses). It ends after this sentence.) You can put comments anywhere in your program where whitespace is allowed and -it will simply be ignored by `alv`. +it will simply be ignored by `alv`. You can also comment an entire line using a +double `##`: + + (print "test") ## just a little note here + + ## the next line is valid, + ## parenthesis ) ))) in line comments are #(just ignored. + [clojure-style]: https://github.com/bbatsov/clojure-style-guide |
