pprint-reader-macro

clojure.contrib.pprint

  • (pprint-reader-macro alis)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/pprint/dispatch.clj:48 top

(defn pprint-reader-macro [alis]
  (let [^String macro-char (reader-macros (first alis))]
    (when (and macro-char (= 2 (count alis)))
      (.write ^java.io.Writer *out* macro-char)
      (write-out (second alis))
      true)))
Vars in clojure.contrib.pprint/pprint-reader-macro: write-out *out* = and count defn let second when
Used in 2 other vars pprint-list pprint-code-list

Comments top

No comments for pprint-reader-macro. Log in to add a comment.