• clojure
• java

1.3.0

# comment

## clojure.core

• (comment & body)
Ignores body, yields nil

### 1 Example top

• ;; The commented forms do not get executed
user=> (comment
(functioncall-1)
(functioncall-2))
nil
Log in to add / edit an example.

### See Also top

Log in to add a see also.

### Source clojure/core.clj:4161 top

(defmacro comment
"Ignores body, yields nil"
{:added "1.0"}
[& body])
Vars in clojure.core/comment:
Used in 0 other vars

### Commentstop

#### 1 comment(s) for comment.

it doesn't 100% ignore the body. If your comment has a map in it, for example, and that map isn't 100% correct it will fail to compile in some environments. I found that using Light Table. I am certain it would fail on other platforms that won't know to exclude it before parsing.

Example: (comment here is some TeX: \frac{\sum_{m=1}{m}x{m}}{x{s}} )

That will produce an error.

Log in to add a comment.