Liking cljdoc? Tell your friends :D

dag_unify.dissoc


aliases-ofclj/s

(aliases-of path reentrance-sets)

given path and a set of set of paths, for each subset s, if a member m1 of s is a prefix of path, concatenate each member other m2 of s to remainder(m2,path).

given _path_ and a set of set of paths, for each subset s,
if a member m1 of s is a prefix of _path_, concatenate
each member other m2 of s to remainder(m2,path).
sourceraw docstring

dissoc-inclj/s

(dissoc-in structure path)

dissoc a path in a dag, as well as any other path in the dag to the same value.

dissoc a path in a dag, as well as any other path in the dag to the same value.
sourceraw docstring

dissoc-in-mapclj/s

(dissoc-in-map the-map path)

dissoc a nested path from the-map; e.g.: (dissoc-in {:a {:b 42, :c 43}} [:a :b]) => {:a {:c 43}}.

dissoc a nested path from the-map; e.g.:
(dissoc-in {:a {:b 42, :c 43}} [:a :b]) => {:a {:c 43}}.
sourceraw docstring

dissoc-pathclj/s

(dissoc-path serialized pathsets path)
source

get-remainders-forclj/s

(get-remainders-for aliases-of-path reentrance-set)
source

prefix?clj/s

(prefix? a b)

return true iff seq a is a prefix of seq b: (prefix? [:a ] [:a :b]) => true (prefix? [:a :b] [:a ]) => false (prefix? [:a :b] [:a :c]) => false

return true iff seq a is a prefix of seq b:
(prefix? [:a   ] [:a :b])    => true
(prefix? [:a :b] [:a   ])    => false
(prefix? [:a :b] [:a :c]) => false
sourceraw docstring

remainderclj/s

(remainder a b)

if seq a is a prefix of seq b, then return what is left of b besides the common prefix of a. if seq a is not a prefix, return nil.

if seq a is a prefix of seq b,
then return what is left of b besides
the common prefix of a.
if seq a is not a prefix, return nil.
sourceraw docstring

remove-path?clj/s

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close