Mercurial > lasercutter
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 Clojure3 ;; by Tom Faulhaber4 ;; April 3, 20096 ;; Copyright (c) Tom Faulhaber, April 2009. All rights reserved.7 ;; The use and distribution terms for this software are covered by the8 ;; 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 by11 ;; the terms of this license.12 ;; You must not remove this notice, or any other, from this13 ;; software.15 ;; DEPRECATED in 1.2. Promoted to clojure.pprint17 (ns18 ^{: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 the22 function \"pprint\"23 2) A Common Lisp compatible format function, implemented as24 \"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 complete28 documentation on the the clojure-contrib web site on github.",29 }30 clojure.contrib.pprint31 (:use clojure.contrib.pprint.utilities)32 (:use clojure.contrib.pprint.pretty-writer33 clojure.contrib.pprint.column-writer))36 (load "pprint/pprint_base")37 (load "pprint/cl_format")38 (load "pprint/dispatch")40 nil