Protocols to support map-like pull.
Clojure's find function are defined on fixed set of classes (java.util.Map), but there are map like structures which does not implements Map interface, such as datomic.Entity. To support these, you need adapt Findable protocol, to support wildcard, adapt WildcardSupport protocol
Protocols to support map-like pull. Clojure's find function are defined on fixed set of classes (java.util.Map), but there are map like structures which does not implements Map interface, such as datomic.Entity. To support these, you need adapt Findable protocol, to support wildcard, adapt WildcardSupport protocol
(-find o k)
Returns a pair of key, value of key k
Returns a pair of key, value of key k
(-keys o)
Returns all keys of object o
Returns all keys of object o
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |