1.2.0 permalink Arrow_down_16x16



  • (pprint-simple-code-list 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:295 top

(defn pprint-simple-code-list [alis]
  (pprint-logical-block :prefix "(" :suffix ")"
    (pprint-indent :block 1)
    (loop [alis (seq alis)]
      (when alis
	(write-out (first alis))
	(when (next alis)
	  (.write ^java.io.Writer *out* " ")
	  (pprint-newline :linear)
	  (recur (next alis)))))))
Vars in clojure.contrib.pprint/pprint-simple-code-list: pprint-indent pprint-logical-block pprint-newline write-out *out* defn first loop next when

Comments top

No comments for pprint-simple-code-list. Log in to add a comment.