view src/clojure/contrib/pprint.clj @ 10:ef7dbbd6452c

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