blob: f11d0a71f10b03ab1467f77ea5adcbed7a6f6b22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
;;; pprint.clj -- Pretty printer and Common Lisp compatible format function (cl-format) for Clojure
;; by Tom Faulhaber
;; April 3, 2009
;; Copyright (c) Tom Faulhaber, April 2009. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be bound by
;; the terms of this license.
;; You must not remove this notice, or any other, from this software.
(ns
#^{:author "Tom Faulhaber",
:doc "This module comprises two elements:
1) A pretty printer for Clojure data structures, implemented in the function \"pprint\"
2) A Common Lisp compatible format function, implemented as \"cl-format\" because
Clojure is using the name \"format\" for its own format.
Complete documentation is available on the wiki at the contrib google code site.",
:see-also [["PrettyPrinting" "Documentation for the pretty printer"]
["CommonLispFormat" "Documentation for Common Lisp format function"]]
}
clojure.contrib.pprint
(:use clojure.contrib.pprint.utilities)
(:import [clojure.contrib.pprint PrettyWriter]))
(load "pprint/pprint_base")
(load "pprint/cl-format")
(load "pprint/dispatch")
nil
|