rlm@10
|
1 ;;; pprint.clj -- Pretty printer and Common Lisp compatible format function (cl-format) for Clojure
|
rlm@10
|
2
|
rlm@10
|
3 ;; by Tom Faulhaber
|
rlm@10
|
4 ;; April 3, 2009
|
rlm@10
|
5
|
rlm@10
|
6 ;; Copyright (c) Tom Faulhaber, April 2009. All rights reserved.
|
rlm@10
|
7 ;; The use and distribution terms for this software are covered by the
|
rlm@10
|
8 ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
|
rlm@10
|
9 ;; which can be found in the file epl-v10.html at the root of this distribution.
|
rlm@10
|
10 ;; By using this software in any fashion, you are agreeing to be bound by
|
rlm@10
|
11 ;; the terms of this license.
|
rlm@10
|
12 ;; You must not remove this notice, or any other, from this
|
rlm@10
|
13 ;; software.
|
rlm@10
|
14
|
rlm@10
|
15 ;; DEPRECATED in 1.2. Promoted to clojure.pprint
|
rlm@10
|
16
|
rlm@10
|
17 (ns
|
rlm@10
|
18 ^{:author "Tom Faulhaber",
|
rlm@10
|
19 :deprecated "1.2"
|
rlm@10
|
20 :doc "This module comprises two elements:
|
rlm@10
|
21 1) A pretty printer for Clojure data structures, implemented in the
|
rlm@10
|
22 function \"pprint\"
|
rlm@10
|
23 2) A Common Lisp compatible format function, implemented as
|
rlm@10
|
24 \"cl-format\" because Clojure is using the name \"format\"
|
rlm@10
|
25 for its Java-based format function.
|
rlm@10
|
26
|
rlm@10
|
27 See documentation for those functions for more information or complete
|
rlm@10
|
28 documentation on the the clojure-contrib web site on github.",
|
rlm@10
|
29 }
|
rlm@10
|
30 clojure.contrib.pprint
|
rlm@10
|
31 (:use clojure.contrib.pprint.utilities)
|
rlm@10
|
32 (:use clojure.contrib.pprint.pretty-writer
|
rlm@10
|
33 clojure.contrib.pprint.column-writer))
|
rlm@10
|
34
|
rlm@10
|
35
|
rlm@10
|
36 (load "pprint/pprint_base")
|
rlm@10
|
37 (load "pprint/cl_format")
|
rlm@10
|
38 (load "pprint/dispatch")
|
rlm@10
|
39
|
rlm@10
|
40 nil
|