Taxa, an experiment in hierarchical domain logic
Taxa, an experiment in hierarchical domain logic
(err? member)
Returns true if member has an isa relationship with com.kardans.taxa/err in default hierarchy.
Returns true if member has an isa relationship with com.kardans.taxa/err in default hierarchy.
(in-taxa f & args)
Run provided function in default or provided hierarchy.
Run provided function in default or provided hierarchy.
Fns without effect on hierarchy.
Fns without effect on hierarchy.
(ok? member)
Returns true if member has an isa relationship with com.kardans.taxa/ok in default hierarchy.
Returns true if member has an isa relationship with com.kardans.taxa/ok in default hierarchy.
(tag from)
Tag from either tag, taxon or variant.
Tag from either tag, taxon or variant.
(taxed? member)
(taxed? member parent)
(taxed? hierarchy member parent)
Returns true if member has an isa relationship in hierarchy default parent :com.kardans.taxa/root.
Returns true if member has an isa relationship in hierarchy default parent :com.kardans.taxa/root.
(taxon thing)
(taxon thing tag)
Creates a taxon from a thing, tag defaults to :com.kardans.taxa/ok.
Creates a taxon from a thing, tag defaults to :com.kardans.taxa/ok.
(taxon->variant {:com.kardans.taxa/keys [tag thing]})
Returns an old school vector variant [tag thing].
Returns an old school vector variant [tag thing].
(taxon? t)
Returns true if t is a taxon.
Returns true if t is a taxon.
(taxonable? t)
True for taxon or keyword.
True for taxon or keyword.
(thing from)
Returns thing from taxon or variant.
Returns thing from taxon or variant.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close