• (pprint-simple-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:65 top

(defn pprint-simple-list [alis]
  (pprint-logical-block :prefix "(" :suffix ")"
    (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-list: pprint-logical-block pprint-newline write-out *out* defn first loop next when
Used in 1 other vars pprint-list

Comments top

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