diff options
author | Konrad Hinsen <konrad.hinsen@laposte.net> | 2009-03-02 11:35:07 +0000 |
---|---|---|
committer | Konrad Hinsen <konrad.hinsen@laposte.net> | 2009-03-02 11:35:07 +0000 |
commit | adef4d0980992077b804796f80cceb7b5f9ee780 (patch) | |
tree | cdd11986ae3ca4174efd43f869e847cba2d7f2bf /src/clojure/contrib/accumulators/examples.clj | |
parent | e349bec891f980cad20e0fa734045a6bd57820e2 (diff) |
General revision of my modules:
- Replaced clojure.contrib.macros/letfn by clojure.core/letfn
- Introduced namespaces for all tests and examples
- Fixed namespace-related bugs in monads and stream-utils
- Introduced :only clause into all :use clauses
Diffstat (limited to 'src/clojure/contrib/accumulators/examples.clj')
-rw-r--r-- | src/clojure/contrib/accumulators/examples.clj | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/clojure/contrib/accumulators/examples.clj b/src/clojure/contrib/accumulators/examples.clj index a7e9f640..ec3c1a01 100644 --- a/src/clojure/contrib/accumulators/examples.clj +++ b/src/clojure/contrib/accumulators/examples.clj @@ -6,7 +6,13 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(use 'clojure.contrib.accumulators) +(ns clojure.contrib.accumulators.examples + (:use [clojure.contrib.accumulators + :only (combine add add-items + empty-vector empty-list empty-queue empty-set empty-map + empty-counter empty-counter-with-total + empty-sum empty-product empty-maximum empty-minimum + empty-min-max empty-string empty-tuple)])) ; Vector accumulator: combine is concat, add is conj (combine [:a :b] [:c :d] [:x :y]) |