【发布时间】:2011-07-02 08:03:02
【问题描述】:
在 Clojure 中开始评论时,; 和 ;; 有什么区别?我看到我的text editor 给它们着色不同,所以我假设在理论上存在一些差异。
我还看到Marginalia 对待它们的方式不同:
; Stripped entirely
;; Appears in text section of marginalia
(defn foobar []
; Appears in code section of marginalia output
;; Again, appears in code section of marginalia output
6)
【问题讨论】:
标签: clojure comments marginalia