nary-dispatch

clojure.contrib.generic

  • (nary-dispatch)
  • (nary-dispatch x)
  • (nary-dispatch x y)
  • (nary-dispatch x y & more)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/generic.clj:33 top

(defn nary-dispatch
  ([] ::nulary)
  ([x] (type x))
  ([x y]
     [(type x) (type y)])
  ([x y & more] ::nary))
Vars in clojure.contrib.generic/nary-dispatch: defn type
Used in 0 other vars

Comments top

No comments for nary-dispatch. Log in to add a comment.