aboutsummaryrefslogtreecommitdiff
path: root/src/main/clojure
diff options
context:
space:
mode:
authorAaron Bedra and Stuart Halloway <pair@clojure.com>2010-07-23 09:37:49 -0400
committerAaron Bedra and Stuart Halloway <pair@clojure.com>2010-07-23 09:38:24 -0400
commit7188a51605136f36524e4091fe806859114d6056 (patch)
tree6067d91d13f4fab69d634486bf24f77861bf6bf4 /src/main/clojure
parent88160ea26d97f74052939785ab389116ee44e703 (diff)
use the 1.2 metadata reader macro ^ instead of #^
Diffstat (limited to 'src/main/clojure')
-rw-r--r--src/main/clojure/clojure/contrib/accumulators.clj2
-rw-r--r--src/main/clojure/clojure/contrib/agent_utils.clj2
-rw-r--r--src/main/clojure/clojure/contrib/base64.clj6
-rw-r--r--src/main/clojure/clojure/contrib/classpath.clj2
-rw-r--r--src/main/clojure/clojure/contrib/combinatorics.clj2
-rw-r--r--src/main/clojure/clojure/contrib/command_line.clj4
-rw-r--r--src/main/clojure/clojure/contrib/complex_numbers.clj2
-rw-r--r--src/main/clojure/clojure/contrib/cond.clj2
-rw-r--r--src/main/clojure/clojure/contrib/condition.clj2
-rw-r--r--src/main/clojure/clojure/contrib/core.clj2
-rw-r--r--src/main/clojure/clojure/contrib/dataflow.clj4
-rw-r--r--src/main/clojure/clojure/contrib/datalog.clj2
-rw-r--r--src/main/clojure/clojure/contrib/datalog/database.clj4
-rw-r--r--src/main/clojure/clojure/contrib/datalog/rules.clj6
-rw-r--r--src/main/clojure/clojure/contrib/def.clj2
-rw-r--r--src/main/clojure/clojure/contrib/duck_streams.clj106
-rw-r--r--src/main/clojure/clojure/contrib/error_kit.clj6
-rw-r--r--src/main/clojure/clojure/contrib/except.clj2
-rw-r--r--src/main/clojure/clojure/contrib/fcase.clj2
-rw-r--r--src/main/clojure/clojure/contrib/find_namespaces.clj22
-rw-r--r--src/main/clojure/clojure/contrib/fnmap.clj2
-rw-r--r--src/main/clojure/clojure/contrib/gen_html_docs.clj2
-rw-r--r--src/main/clojure/clojure/contrib/generic.clj2
-rw-r--r--src/main/clojure/clojure/contrib/generic/arithmetic.clj2
-rw-r--r--src/main/clojure/clojure/contrib/generic/collection.clj2
-rw-r--r--src/main/clojure/clojure/contrib/generic/comparison.clj2
-rw-r--r--src/main/clojure/clojure/contrib/generic/functor.clj2
-rw-r--r--src/main/clojure/clojure/contrib/generic/math_functions.clj2
-rw-r--r--src/main/clojure/clojure/contrib/graph.clj2
-rw-r--r--src/main/clojure/clojure/contrib/greatest_least.clj2
-rw-r--r--src/main/clojure/clojure/contrib/http/agent.clj32
-rw-r--r--src/main/clojure/clojure/contrib/http/connection.clj18
-rw-r--r--src/main/clojure/clojure/contrib/import_static.clj2
-rw-r--r--src/main/clojure/clojure/contrib/io.clj128
-rw-r--r--src/main/clojure/clojure/contrib/jar.clj6
-rw-r--r--src/main/clojure/clojure/contrib/java_utils.clj32
-rw-r--r--src/main/clojure/clojure/contrib/javadoc/browse.clj2
-rw-r--r--src/main/clojure/clojure/contrib/javadoc/browse_ui.clj2
-rw-r--r--src/main/clojure/clojure/contrib/jmx.clj2
-rw-r--r--src/main/clojure/clojure/contrib/json.clj30
-rw-r--r--src/main/clojure/clojure/contrib/lazy_seqs.clj2
-rw-r--r--src/main/clojure/clojure/contrib/lazy_xml.clj14
-rw-r--r--src/main/clojure/clojure/contrib/lazy_xml/with_pull.clj2
-rw-r--r--src/main/clojure/clojure/contrib/logging.clj42
-rw-r--r--src/main/clojure/clojure/contrib/macro_utils.clj2
-rw-r--r--src/main/clojure/clojure/contrib/macros.clj2
-rw-r--r--src/main/clojure/clojure/contrib/map_utils.clj2
-rw-r--r--src/main/clojure/clojure/contrib/math.clj14
-rw-r--r--src/main/clojure/clojure/contrib/miglayout.clj6
-rw-r--r--src/main/clojure/clojure/contrib/miglayout/internal.clj8
-rw-r--r--src/main/clojure/clojure/contrib/mmap.clj8
-rw-r--r--src/main/clojure/clojure/contrib/mock.clj4
-rw-r--r--src/main/clojure/clojure/contrib/monadic_io_streams.clj4
-rw-r--r--src/main/clojure/clojure/contrib/monads.clj2
-rw-r--r--src/main/clojure/clojure/contrib/ns_utils.clj2
-rw-r--r--src/main/clojure/clojure/contrib/pprint.clj2
-rw-r--r--src/main/clojure/clojure/contrib/pprint/cl_format.clj116
-rw-r--r--src/main/clojure/clojure/contrib/pprint/column_writer.clj16
-rw-r--r--src/main/clojure/clojure/contrib/pprint/dispatch.clj32
-rw-r--r--src/main/clojure/clojure/contrib/pprint/pprint_base.clj36
-rw-r--r--src/main/clojure/clojure/contrib/pprint/pretty_writer.clj86
-rw-r--r--src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj2
-rw-r--r--src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj2
-rw-r--r--src/main/clojure/clojure/contrib/probabilities/random_numbers.clj2
-rw-r--r--src/main/clojure/clojure/contrib/profile.clj4
-rw-r--r--src/main/clojure/clojure/contrib/properties.clj6
-rwxr-xr-xsrc/main/clojure/clojure/contrib/prxml.clj14
-rw-r--r--src/main/clojure/clojure/contrib/repl_ln.clj2
-rw-r--r--src/main/clojure/clojure/contrib/repl_utils.clj4
-rw-r--r--src/main/clojure/clojure/contrib/repl_utils/javadoc.clj12
-rw-r--r--src/main/clojure/clojure/contrib/seq.clj2
-rw-r--r--src/main/clojure/clojure/contrib/seq_utils.clj2
-rw-r--r--src/main/clojure/clojure/contrib/server_socket.clj18
-rw-r--r--src/main/clojure/clojure/contrib/set.clj2
-rw-r--r--src/main/clojure/clojure/contrib/shell.clj2
-rw-r--r--src/main/clojure/clojure/contrib/shell_out.clj2
-rw-r--r--src/main/clojure/clojure/contrib/singleton.clj2
-rw-r--r--src/main/clojure/clojure/contrib/sql.clj2
-rw-r--r--src/main/clojure/clojure/contrib/str_utils.clj12
-rw-r--r--src/main/clojure/clojure/contrib/str_utils2.clj128
-rw-r--r--src/main/clojure/clojure/contrib/stream_utils.clj2
-rw-r--r--src/main/clojure/clojure/contrib/string.clj126
-rw-r--r--src/main/clojure/clojure/contrib/strint.clj4
-rw-r--r--src/main/clojure/clojure/contrib/test_is.clj2
-rw-r--r--src/main/clojure/clojure/contrib/trace.clj4
-rw-r--r--src/main/clojure/clojure/contrib/types.clj2
-rw-r--r--src/main/clojure/clojure/contrib/with_ns.clj2
-rw-r--r--src/main/clojure/clojure/contrib/zip_filter.clj8
-rw-r--r--src/main/clojure/clojure/contrib/zip_filter/xml.clj4
89 files changed, 616 insertions, 616 deletions
diff --git a/src/main/clojure/clojure/contrib/accumulators.clj b/src/main/clojure/clojure/contrib/accumulators.clj
index dcd03dd1..55073e33 100644
--- a/src/main/clojure/clojure/contrib/accumulators.clj
+++ b/src/main/clojure/clojure/contrib/accumulators.clj
@@ -19,7 +19,7 @@
;; remove this notice, or any other, from this software.
(ns
- #^{:author "Konrad Hinsen"
+ ^{:author "Konrad Hinsen"
:doc "A generic accumulator interface and implementations of various
accumulators."}
clojure.contrib.accumulators
diff --git a/src/main/clojure/clojure/contrib/agent_utils.clj b/src/main/clojure/clojure/contrib/agent_utils.clj
index 0ab845d5..1b7b2107 100644
--- a/src/main/clojure/clojure/contrib/agent_utils.clj
+++ b/src/main/clojure/clojure/contrib/agent_utils.clj
@@ -13,7 +13,7 @@
;; note to other contrib members: feel free to add to this lib
(ns
- #^{:author "Christophe Grande",
+ ^{:author "Christophe Grande",
:doc "Miscellaneous agent utilities
(note to other contrib members: feel free to add to this lib)",
}
diff --git a/src/main/clojure/clojure/contrib/base64.clj b/src/main/clojure/clojure/contrib/base64.clj
index 5e1e3310..2556487c 100644
--- a/src/main/clojure/clojure/contrib/base64.clj
+++ b/src/main/clojure/clojure/contrib/base64.clj
@@ -12,7 +12,7 @@
;; remove this notice, or any other, from this software.
-(ns #^{:doc "Base-64 encoding and (maybe later) decoding.
+(ns ^{:doc "Base-64 encoding and (maybe later) decoding.
This is mainly here as an example. It is much slower than the
Apache Commons Codec implementation or sun.misc.BASE64Encoder."
@@ -29,7 +29,7 @@
is a 65-character String containing the 64 characters to use in the
encoding; the 65th character is the pad character. line-length is
the maximum number of characters per line, nil for no line breaks."
- [#^InputStream input #^Writer output #^String alphabet line-length]
+ [^InputStream input ^Writer output ^String alphabet line-length]
(let [buffer (make-array Byte/TYPE 3)]
(loop [line 0]
(let [len (.read input buffer)]
@@ -80,7 +80,7 @@
"Encodes String in base 64; returns a String. If not specified,
encoding is UTF-8 and line-length is nil."
([s] (encode-str s "UTF-8" nil))
- ([#^String s #^String encoding line-length]
+ ([^String s ^String encoding line-length]
(let [output (StringWriter.)]
(encode (ByteArrayInputStream. (.getBytes s encoding))
output *base64-alphabet* line-length)
diff --git a/src/main/clojure/clojure/contrib/classpath.clj b/src/main/clojure/clojure/contrib/classpath.clj
index a5a1a6d3..232860f0 100644
--- a/src/main/clojure/clojure/contrib/classpath.clj
+++ b/src/main/clojure/clojure/contrib/classpath.clj
@@ -13,7 +13,7 @@
(ns
- #^{:author "Stuart Sierra",
+ ^{:author "Stuart Sierra",
:doc "Utilities for dealing with the JVM's classpath"}
clojure.contrib.classpath
(:require [clojure.contrib.jar :as jar])
diff --git a/src/main/clojure/clojure/contrib/combinatorics.clj b/src/main/clojure/clojure/contrib/combinatorics.clj
index ca8c8ba2..1be12aa4 100644
--- a/src/main/clojure/clojure/contrib/combinatorics.clj
+++ b/src/main/clojure/clojure/contrib/combinatorics.clj
@@ -62,7 +62,7 @@ On my own computer, I use versions of all these algorithms that return sequences
(ns
- #^{:author "Mark Engelberg",
+ ^{:author "Mark Engelberg",
:doc "Efficient, functional algorithms for generating lazy
sequences for common combinatorial functions. (See the source code
for a longer description.)"}
diff --git a/src/main/clojure/clojure/contrib/command_line.clj b/src/main/clojure/clojure/contrib/command_line.clj
index 907b009f..47ee7849 100644
--- a/src/main/clojure/clojure/contrib/command_line.clj
+++ b/src/main/clojure/clojure/contrib/command_line.clj
@@ -9,7 +9,7 @@
; Process command-line arguments according to a given cmdspec
(ns
- #^{:author "Chris Houser",
+ ^{:author "Chris Houser",
:doc "Process command-line arguments according to a given cmdspec"}
clojure.contrib.command-line
(:use (clojure.contrib [string :only (join)])))
@@ -60,7 +60,7 @@
(defn- rmv-q
"Remove ?"
- [#^String s]
+ [^String s]
(if (.endsWith s "?")
(.substring s 0 (dec (count s)))
s))
diff --git a/src/main/clojure/clojure/contrib/complex_numbers.clj b/src/main/clojure/clojure/contrib/complex_numbers.clj
index 01f90b9c..cf9aafd9 100644
--- a/src/main/clojure/clojure/contrib/complex_numbers.clj
+++ b/src/main/clojure/clojure/contrib/complex_numbers.clj
@@ -12,7 +12,7 @@
;; remove this notice, or any other, from this software.
(ns
- #^{:author "Konrad Hinsen"
+ ^{:author "Konrad Hinsen"
:doc "Complex numbers
NOTE: This library is in evolution. Most math functions are
not implemented yet."}
diff --git a/src/main/clojure/clojure/contrib/cond.clj b/src/main/clojure/clojure/contrib/cond.clj
index 0ae8ca06..d3a5338e 100644
--- a/src/main/clojure/clojure/contrib/cond.clj
+++ b/src/main/clojure/clojure/contrib/cond.clj
@@ -11,7 +11,7 @@
;; scgilardi (gmail)
;; 2 October 2008
-(ns #^{:author "Stephen C. Gilardi"
+(ns ^{:author "Stephen C. Gilardi"
:doc "Extensions to the basic cond function."}
clojure.contrib.cond)
diff --git a/src/main/clojure/clojure/contrib/condition.clj b/src/main/clojure/clojure/contrib/condition.clj
index 32397a84..57525bfe 100644
--- a/src/main/clojure/clojure/contrib/condition.clj
+++ b/src/main/clojure/clojure/contrib/condition.clj
@@ -11,7 +11,7 @@
;; scgilardi (gmail)
;; Created 09 June 2009
-(ns #^{:author "Stephen C. Gilardi"
+(ns ^{:author "Stephen C. Gilardi"
:doc "Flexible raising and handling of conditions:
Functions:
diff --git a/src/main/clojure/clojure/contrib/core.clj b/src/main/clojure/clojure/contrib/core.clj
index c696ed12..e7239717 100644
--- a/src/main/clojure/clojure/contrib/core.clj
+++ b/src/main/clojure/clojure/contrib/core.clj
@@ -13,7 +13,7 @@
;; note to other contrib members: feel free to add to this lib
(ns
- #^{:author "Laurent Petit (and others)"
+ ^{:author "Laurent Petit (and others)"
:doc "Functions/macros variants of the ones that can be found in clojure.core
(note to other contrib members: feel free to add to this lib)"}
clojure.contrib.core
diff --git a/src/main/clojure/clojure/contrib/dataflow.clj b/src/main/clojure/clojure/contrib/dataflow.clj
index 95ffc59f..d326d0d6 100644
--- a/src/main/clojure/clojure/contrib/dataflow.clj
+++ b/src/main/clojure/clojure/contrib/dataflow.clj
@@ -15,7 +15,7 @@
(ns
- #^{:author "Jeffrey Straszheim",
+ ^{:author "Jeffrey Straszheim",
:doc "A library to support a dataflow model of state"}
clojure.contrib.dataflow
(:use [clojure.set :only (union intersection difference)])
@@ -363,7 +363,7 @@
(list 'cell :validator (:display cell)))
(defmethod print-method ::dataflow-cell
- [f #^Writer w]
+ [f ^Writer w]
(binding [*out* w]
(pr (display-cell f))))
diff --git a/src/main/clojure/clojure/contrib/datalog.clj b/src/main/clojure/clojure/contrib/datalog.clj
index 93e132de..77d9d3a9 100644
--- a/src/main/clojure/clojure/contrib/datalog.clj
+++ b/src/main/clojure/clojure/contrib/datalog.clj
@@ -18,7 +18,7 @@
(ns
- #^{:author "Jeffrey Straszheim",
+ ^{:author "Jeffrey Straszheim",
:doc "A Clojure implementation of Datalog"}
clojure.contrib.datalog
(:use clojure.contrib.datalog.rules
diff --git a/src/main/clojure/clojure/contrib/datalog/database.clj b/src/main/clojure/clojure/contrib/datalog/database.clj
index 931011e9..27f84484 100644
--- a/src/main/clojure/clojure/contrib/datalog/database.clj
+++ b/src/main/clojure/clojure/contrib/datalog/database.clj
@@ -31,7 +31,7 @@
;;; DDL
(defmethod print-method ::datalog-database
- [db #^Writer writer]
+ [db ^Writer writer]
(binding [*out* writer]
(do
(println "(datalog-database")
@@ -49,7 +49,7 @@
(def empty-database (datalog-database {}))
(defmethod print-method ::datalog-relation
- [rel #^Writer writer]
+ [rel ^Writer writer]
(binding [*out* writer]
(do
(println "(datalog-relation")
diff --git a/src/main/clojure/clojure/contrib/datalog/rules.clj b/src/main/clojure/clojure/contrib/datalog/rules.clj
index e0ca338f..9cb667e5 100644
--- a/src/main/clojure/clojure/contrib/datalog/rules.clj
+++ b/