Skip to content

clojure.core/derive

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 4 Runnable: 3
([tag parent] [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.

Examples

by gstamp on
by OnesimusUnbound on
by mhmdsalem1993 on . May have evaluation errors.
by timgilbert on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.