ClojureDocs

Nav

Namespaces

derive

clojure.core

Available since 1.0 (source)
  • (derive tag parent)
  • (derive h tag parent)
Establishes a parent/child relationship between parent and
tag. Parent must be a namespace-qualified symbol or keyword and
child can be either a namespace-qualified symbol or keyword or a
class. h must be a hierarchy obtained from make-hierarchy, if not
supplied defaults to, and modifies, the global hierarchy.