Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (25 sloc) 590 Bytes
name display as clojure doc edn doc see also
syntax/comment
; comment
syntax/ignore
cljs.core/comment
syntax/shebang

Summary

A single line comment.

  • ; this is a comment
  • ;; two semicolons is also common

Details

"Comments out" everything after ; on the current line.

Examples

Add comments to code:

(def a 1) ; this is a comment

It is common to use ;; for comments that have their own line:

;; this comment is on its own line