diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/clojure/contrib/pprint.clj	Sat Aug 21 06:25:44 2010 -0400
     1.3 @@ -0,0 +1,40 @@
     1.4 +;;; pprint.clj -- Pretty printer and Common Lisp compatible format function (cl-format) for Clojure
     1.5 +
     1.6 +;; by Tom Faulhaber
     1.7 +;; April 3, 2009
     1.8 +
     1.9 +;;   Copyright (c) Tom Faulhaber, April 2009. All rights reserved.
    1.10 +;;   The use and distribution terms for this software are covered by the
    1.11 +;;   Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
    1.12 +;;   which can be found in the file epl-v10.html at the root of this distribution.
    1.13 +;;   By using this software in any fashion, you are agreeing to be bound by
    1.14 +;;   the terms of this license.
    1.15 +;;   You must not remove this notice, or any other, from this
    1.16 +;;   software.
    1.17 +
    1.18 +;; DEPRECATED in 1.2.  Promoted to clojure.pprint
    1.19 +
    1.20 +(ns 
    1.21 +    ^{:author "Tom Faulhaber",
    1.22 +      :deprecated "1.2"
    1.23 +      :doc "This module comprises two elements:
    1.24 +1) A pretty printer for Clojure data structures, implemented in the 
    1.25 +   function \"pprint\"
    1.26 +2) A Common Lisp compatible format function, implemented as 
    1.27 +   \"cl-format\" because Clojure is using the name \"format\" 
    1.28 +   for its Java-based format function.
    1.29 +
    1.30 +See documentation for those functions for more information or complete 
    1.31 +documentation on the the clojure-contrib web site on github.",
    1.32 +       }
    1.33 +    clojure.contrib.pprint
    1.34 +  (:use clojure.contrib.pprint.utilities)
    1.35 +  (:use clojure.contrib.pprint.pretty-writer
    1.36 +        clojure.contrib.pprint.column-writer))
    1.37 +
    1.38 +
    1.39 +(load "pprint/pprint_base")
    1.40 +(load "pprint/cl_format")
    1.41 +(load "pprint/dispatch")
    1.42 +
    1.43 +nil