Liking cljdoc? Tell your friends :D

tech.droit.fset


*join-size-threshold*clj

Maximum size for a join operand. This helps controlling large joins by throwing error instead of going out of memory.

Maximum size for a join operand. This helps controlling large joins
by throwing error instead of going out of memory.
raw docstring

differenceclj

(difference s1)
(difference s1 s2)
(difference s1 s2 & sets)

Faster version of clojure.set/difference.

Faster version of clojure.set/difference.
raw docstring

indexclj

(index xrel ks)

Faster clojure.set/index with a compatible interface. TODO: generative comparison with set/index.

Faster clojure.set/index with a compatible interface.
TODO: generative comparison with set/index.
raw docstring

index*clj

(index* rel ks)

Alternative clojure.set/index with a different (but non-compatible) interface using native and mutable types.

Alternative clojure.set/index with a different (but non-compatible)
interface using native and mutable types.
raw docstring

intersectionclj

(intersection s1)
(intersection s1 s2)
(intersection s1 s2 & sets)

Optimized version of clojure.set/intersection. It's mostly compatible, but it expects strict sets as arguments (which should be the case). However clojure.set/intersection also accepts other types with unpredictable results.

Optimized version of `clojure.set/intersection`. It's mostly compatible,
but it expects strict sets as arguments (which should be the case). However
clojure.set/intersection also accepts other types with unpredictable results.
raw docstring

intersection*clj

(intersection* s1)
(intersection* s1 s2)
(intersection* s1 s2 & sets)

Like clojure.set/intersection, but returns a java.util.HashSet

Like clojure.set/intersection, but returns a java.util.HashSet
raw docstring

joinclj

(join xrel yrel)
(join xrel yrel km)
(join xrel yrel x-keys y-keys)

Optimized version of clojure.set/join about 4x faster.

Optimized version of clojure.set/join about 4x faster.
raw docstring

ksetclj

(kset xrel)

Transforms the result of kset-native into a Clojure set.

Transforms the result of kset-native into a Clojure set.
raw docstring

kset-nativeclj

(kset-native xrel)

Retrieve the keyset (the attributes) of relation xrel. Returns a Java HashSet.

Retrieve the keyset (the attributes) of relation xrel.
Returns a Java HashSet.
raw docstring

map-invertclj

(map-invert m)

Returns the map with the vals mapped to the keys.

Returns the map with the vals mapped to the keys.
raw docstring

mapsclj

(maps f s)

Like map but for sets, returning a set.

Like `map` but for sets, returning a set.
raw docstring

projectclj

(project xrel ks)

Faster version of clojure.set/project

Faster version of clojure.set/project
raw docstring

project*clj

(project* xrel k1)
(project* xrel k1 k2)
(project* xrel k1 k2 k3)
(project* xrel k1 k2 k3 k4)
(project* xrel k1 k2 k3 k4 k5)

Version of clojure.set/project supporting specific arities for keys. TODO: work in progress, it doesn't perform better than normal project.

Version of clojure.set/project supporting specific arities for keys.
TODO: work in progress, it doesn't perform better than normal project.
raw docstring

renameclj

(rename xrel kmap)
(rename xrel k1 k2)

Like clojure.set/rename but no meta and optimized. The additional arity with k1 k2...kN can be used to rename a known number of keys.

Like clojure.set/rename but no meta and optimized. The additional
arity with k1 k2...kN can be used to rename a known number of keys.
raw docstring

rename-keysclj

(rename-keys m kmap)

Like clojure.set/rename-keys, just way uglier and 40% faster.

Like clojure.set/rename-keys, just way uglier and 40% faster.
raw docstring

selectclj

(select pred s)

Faster version of clojure.set/select

Faster version of clojure.set/select
raw docstring

select-keyclj

(select-key m k1)
(select-key m k1 k2)
(select-key m k1 k2 k3)
(select-key m k1 k2 k3 k4)
(select-key m k1 k2 k3 k4 k5)

Like core/select-keys but with specific arities

Like core/select-keys but with specific arities
raw docstring

select-keysclj

(select-keys m ks)

Like core/select-keys but uses a transient to collect results. Note: differently from core/select-keys, it doesn't retain metadata. TODO: generative comparison with core/select-keys.

Like core/select-keys but uses a transient to collect results.
Note: differently from core/select-keys, it doesn't retain metadata.
TODO: generative comparison with core/select-keys.
raw docstring

select-keys*clj

(select-keys* m ks)

Alternative to core/select-keys which retrieves the values corresponding to ks within an ABox instance.

Alternative to core/select-keys which retrieves the values corresponding
to `ks` within an `ABox` instance.
raw docstring

subset?clj

(subset? set1 set2)

superset?clj

(superset? set1 set2)

unionclj

(union)
(union s1)
(union s1 s2)
(union s1 s2 s3)
(union s1 s2 s3 s4)
(union s1 s2 s3 s4 s5)
(union s1 s2 s3 s4 s5 & sets)

Like core.set/union but with arities optimizations.

Like core.set/union but with arities optimizations.
raw docstring

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

× close