You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/documentation/basic-types.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,13 +140,22 @@ A set is a sequence of whitespace-separated values prefixed by the function `set
140
140
141
141
## Comments
142
142
143
-
A comment begins with a `#` or `;` character and continues until the end of the line. There are no multi-line comments.
143
+
A comment begins with a `#` or `;` character and continues until the end of the line.
144
144
145
145
```phel
146
146
# This is a comment
147
147
; This is also a comment
148
148
```
149
149
150
+
Phel also supports multiline comments using the Common Lisp `#|` ... `|#` syntax. The comment spans everything between the opening and closing markers, including line breaks.
151
+
152
+
```phel
153
+
#|
154
+
This whole block
155
+
is a comment
156
+
|#
157
+
```
158
+
150
159
Phel also supports inline s-expression commenting with `#_` which comments out the next form. It can also be stacked to comment out two or more forms after it.
0 commit comments