This is for 1.4.0. Multi methods.

(Filenames come after)
 
(the two methods in dispatch are: simple-dispatch, code-dispatch
add -A 1 option to the grep to see this)


$ find . -name "*.clj" -exec grep "defmulti" \{\} \; -print -printf "\n"
(defmulti 
(defmulti 
./src/clj/clojure/pprint/dispatch.clj

(defmulti ^{:private true} write-token #(:type-tag %2))
(defmulti ^{:private true} emit-nl? (fn [t _ _ _] (:type t)))
(defmulti ^{:private true} tok :type-tag)
./src/clj/clojure/pprint/pretty_writer.clj

(defmulti
./src/clj/clojure/java/io.clj

(defmacro defmulti
      (throw (Exception. "The syntax for defmulti has changed. Example: 
(defmulti name dispatch-fn :default dispatch-value)")))
(defmulti print-method (fn [x writer]
(defmulti print-dup (fn [x writer] (class x)))
./src/clj/clojure/core.clj

(defmulti is-leaf collection-tag)
(defmulti get-child (fn [parent index] (collection-tag parent)))
(defmulti get-child-count collection-tag)
(defmulti list-provider class)
(defmulti table-model class)
./src/clj/clojure/inspector.clj

(defmulti ^:dynamic junit-report :type)
./src/clj/clojure/test/junit.clj

(defmulti ^:dynamic tap-report (fn [data] (:type data)))
./src/clj/clojure/test/tap.clj

(defmulti
(defmulti assert-expr 
(defmulti use-fixtures
./src/clj/clojure/test.clj

(defmulti 
./test/clojure/test_clojure/pprint/test_pretty.clj

; defmulti
./test/clojure/test_clojure/multimethods.clj

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to