(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).
(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.
(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}}.
(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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close