Liking cljdoc? Tell your friends :D

baby.pat.vt


!clj/s


!instant!clj/s

(!instant!)

*addclj/smultimethod


*changeclj/smultimethod


*employclj/smultimethod


*normalize-asclj/smultimethod


*rmclj/smultimethod


<-clj/s

(<- m path)

<-cloneclj/s

(<-clone m subject xform)

<-countclj/s

(<-count m path)

<-keysclj/s

(<-keys m path)

<-overlayclj/s

(<-overlay m overlay underlay)

<-underlayclj/s

(<-underlay m underlay overlay)

<<-clj/s

(<<- m path)

<<-cloneclj/s

(<<-clone m subject xform)

<<-countclj/s

(<<-count m path)

<<-keysclj/s

(<<-keys m path)

<<-overlayclj/s

(<<-overlay m path underlay)

<<-underlayclj/s

(<<-underlay m path overlay)

accessclj/s

(access m {:keys [action supatom path function args] :as instructions})

Access an atom or map via an instructions map.

Access an atom or map via an instructions map.
raw docstring

access-anything-withclj/s

(access-anything-with partial-instructions)

Takes partial instructions and returns a function that needs a map and further instructions.

Takes partial instructions and returns a function that needs a map and further instructions.
raw docstring

access-this-withclj/s

(access-this-with m partial-instructions)

Takes partial instructions and returns a primed function like access

Takes partial instructions and returns a primed function like `access` 
raw docstring

addclj/s

(add m items)
(add variant m items)

Adds items to m as normalized collections.

Adds items to m as normalized collections.
raw docstring

add-kw-nsclj/s

(add-kw-ns new-namespace thing)

Adds a provided namespace to the thing or things provided DWIM style.

Adds a provided namespace to the thing or things provided DWIM style.
raw docstring

add-normalizedclj/s

(add-normalized safe-m items)
(add-normalized variant m items)

add-normalized-boilerplateclj/s

(add-normalized-boilerplate variant m items)

after?clj/s

(after? established in-question)

Is the first thing after the second?

Is the first thing after the second?
raw docstring

all-valid-examples-of?clj/s

(all-valid-examples-of? things vt)

at-or-after?clj/s

(at-or-after? established in-question)

Is the first thing at or after the second?

Is the first thing at or after the second?
raw docstring

at-or-before?clj/s

(at-or-before? established in-question)

Is the first thing at or before the second?

Is the first thing at or before the second?
raw docstring

atom?clj/s

(atom? thing)

Is a thing an atom?

Is a thing an atom?
raw docstring

bangclj/s

(bang v)
(bang m v)

Provides a vector interface to access.

Provides a vector interface to access.
raw docstring

before?clj/s

(before? established in-question)

Is the first thing before the second?

Is the first thing before the second?
raw docstring

between?clj/s

(between? basis-start basis-end in-question)

Given the start and end is the thing in question inside both?

Given the start and end is the thing in question inside both?
raw docstring

call-fn-from-identclj/s

(call-fn-from-ident m ident)

Calls a function located at the ident.

Calls a function located at the ident.
raw docstring

call-fn-from-ident-on-mapclj/s

(call-fn-from-ident-on-map m ident)

Calls a function located at the ident on the map provided.

Calls a function located at the ident on the map provided.
raw docstring

callable-fn-from-thingclj/s

(callable-fn-from-thing fq)

Given a keyword or a string returns a callable function that thing resolves to.

Given a keyword or a string returns a callable function that thing resolves to.
raw docstring

changeclj/s

(change m path function)
(change m path function args)

Takes m, path, and then the args to '(swap! c update-in p ...)' or '(update-in c p ...)'.

Takes m, path, and then the args to '(swap! c update-in p ...)' or '(update-in c p ...)'.
raw docstring

contains-keys?clj/s

(contains-keys? m k)
(contains-keys? m k & ks)

Does a map contain all the provided keys?

Does a map contain all the provided keys?
raw docstring

default-change-wrapperclj/s

(default-change-wrapper variant map path function)
(default-change-wrapper variant map path function args)

duration-in-secondsclj/s

(duration-in-seconds time-start time-end)

Gives the duration of a time range in seconds. Useful for qualifying drilling activities based on sparse info.

Gives the duration of a time range in seconds. Useful for qualifying drilling activities based on sparse info.
raw docstring

employclj/s

(employ m path)
(employ variant m path)
(employ variant m path & args)

ensure-safe-stringclj/s

(ensure-safe-string kw-or-str)

entity-as-instanceclj/s

(entity-as-instance entity)

Turn an entity into an instance.

Turn an entity into an instance.
raw docstring

entity-ident-or-idents?clj/s

(entity-ident-or-idents? thing)

Is this thing an ident or group of them?

Is this thing an ident or group of them?
raw docstring

entity-ident?clj/s

(entity-ident? thing)

Is a thing an entity id?

Is a thing an entity id?
raw docstring

entity-idents?clj/s

(entity-idents? thing)

Is this thing a vector of entity ids?

Is this thing a vector of entity ids?
raw docstring

follow-pathclj/s

(follow-path m path)

Follows normalized entities to return the true value coords of path. Ripped from fulcro.a.n-s

Follows normalized entities to return the true value coords of path. Ripped from fulcro.a.n-s
raw docstring

follow-remove-normalizedclj/s

(follow-remove-normalized m path)

Removes a path and all it's references from a normalized map.

Removes a path and all it's references from a normalized map.
raw docstring

id->default-valueclj/s

(id->default-value m id)

Returns the value stored in the default position for an id. i.e. :a/cool returns the value at [:a/id :a/cool :a/a]

Returns the value stored in the default position for an id.
i.e. :a/cool returns the value at [:a/id :a/cool :a/a]
raw docstring

id-kw-forclj/s

(id-kw-for thing)

Catch all function that produces an idkw for a variety of types.

Catch all function that produces an idkw for a variety of types.
raw docstring

id-kw-for-mapclj/s

(id-kw-for-map m)

Takes a map that presumably has a key with the name id and returns it's namespace qualified id key.

Takes a map that presumably has a key with the name id and returns it's namespace qualified id key.
raw docstring

id-kw-for-pathclj/s

(id-kw-for-path path)

DO I NEED THIS? WHAT USE IS THIS? HOW'D THIS GET HERE? WHERE IS KONDO?

DO I NEED THIS? WHAT USE IS THIS? HOW'D THIS GET HERE? WHERE IS KONDO?
raw docstring

id-ofclj/s

(id-of m)

Takes a map with a namespaced id key and returns the value for the key named 'id'.

Takes a map with a namespaced id key and returns the value for the key named 'id'.
raw docstring

id-qkw?clj/s

(id-qkw? thing)

Is a thing a qualified id keyword?

Is a thing a qualified id keyword?
raw docstring

ident->default-valueclj/s

(ident->default-value m ident)

Returns the value stored in the default position for an ident.
i.e. [:a/id :a/cool] returns value at [:a/id :a/cool :a/a]

Returns the value stored in the default position for an ident.   
i.e. [:a/id :a/cool] returns value at [:a/id :a/cool :a/a]
raw docstring

ident-forclj/s

(ident-for m)

Takes a map and returns the normalized ident for it based on the id.

Takes a map and returns the normalized ident for it based on the id.
raw docstring

in-bounds?clj/s

(in-bounds? basis-start basis-end in-question)

Given the start and end is the thing in question within both?

Given the start and end is the thing in question within both?
raw docstring

inside-of-prefixclj/s

(inside-of-prefix prefix)

Takes a prefix and returns a function that adds that prefix to a thing or things DWIM style.

Takes a prefix and returns a function that adds that prefix to a thing or things DWIM style.
raw docstring

instant->mapclj/s

(instant->map t)

Takes an instant of time and breaks it down into units.

Takes an instant of time and breaks it down into units.
raw docstring

is-already-normalized?clj/s

(is-already-normalized? m)

Is the provided map already normalized?

Is the provided map already normalized?
raw docstring

map->instantclj/s

(map->instant {:time/keys [yyyy MM dd HH mm ss ms]})

Takes a map of time and returns an instant.

Takes a map of time and returns an instant.
raw docstring

map-with?clj/s

(map-with? & qkws)

Does a map contain all these keys?

Does a map contain all these keys?
raw docstring

normalizable?clj/s

(normalizable? m)

Can the provided map be normalized?

Can the provided map be normalized?
raw docstring

not-after?clj/s

(not-after? established in-question)

Is the first thing not after the second?

Is the first thing not after the second?
raw docstring

not-before?clj/s

(not-before? established in-question)

Is the first thing not before the second?

Is the first thing not before the second?
raw docstring

nowclj/s


pluralclj/s


plural-datatype-name-ofclj/s

(plural-datatype-name-of thing)

plural-keywordclj/s


pull-entry-by-key-nameclj/s

(pull-entry-by-key-name key-name m)

Filters a map returning the entry matching the key-name

Filters a map returning the entry matching the key-name
raw docstring

qidclj/s

(qid)

Utility to create a simply id that's a unique string. Placeholder.

Utility to create a simply id that's a unique string. Placeholder.
raw docstring

rand-ofclj/s

(rand-of)
(rand-of k)

Returns a random category member.
Can be provided category keyword ':nato-alphabet'

Returns a random category member.   
Can be provided category keyword ':nato-alphabet' 
raw docstring

rand-strclj/s

(rand-str)
(rand-str len)

Creates a random string of 64 or supplied length upper and lower chars + numbers.

Creates a random string of `64` or supplied length upper and lower chars + numbers.
raw docstring

rando-counts-mapclj/s


remove-normalizedclj/s

(remove-normalized m path)

Removes a path from a normalized map.

Removes a path from a normalized map.
raw docstring

return-as-functionclj/s

(return-as-function m thing)
(return-as-function variant m thing)

Returns either the function given or the function stored at the path.

Returns  either the function given or the function stored at the path.
raw docstring

return-as-instanceclj/s

(return-as-instance m thing)
(return-as-instance variant m thing)

If given a path, return the map entry, ortherwise return the map. A variant can be provided first to use a named method of employ.

If given a path, return the map entry, ortherwise return the map. A variant can be provided first to use a named method of employ.
raw docstring

return-map-and-identclj/s

(return-map-and-ident m ident)

Given an atom or a map and another map or ident or id keyword returns m and ident. i.e. [{} [:a/id :a/cool]]

Given an atom or a map and another map or ident or id keyword returns m and ident.
i.e. [{} [:a/id :a/cool]]
raw docstring

rmclj/s

(rm m path)
(rm variant m path)

Removes an ident from m.

Removes an ident from m.
raw docstring

rm-kw-nsclj/s

(rm-kw-ns thing)

Removes the namespace for a thing or things DWIM style.

Removes the namespace for a thing or things DWIM style.
raw docstring

safe-kwsclj/s≠

clj
(safe-kws thing)
(safe-kws underscore-replacement thing)
cljs
(safe-kws thing)

safe-string->kwclj/s

(safe-string->kw n)

safe storage string -> useful kw

safe storage string -> useful kw
raw docstring

singularclj/s


singular-keywordclj/s


subtractclj/s

(subtract original & others)

Subtracts time by taking an inst, and number/unit pairs. i.e. 12 :minutes 43 :hours 4 :days, etc. Subtracts numbers via reduce.

Subtracts time by taking an inst, and number/unit pairs. i.e. 12 :minutes 43 :hours 4 :days, etc. Subtracts numbers via reduce.
raw docstring

sumclj/s

(sum original & others)

Adds time by taking an inst, and number/unit pairs. i.e. 12 :minutes 43 :hours 4 :days, etc. Adds numbers via reduce.

Adds time by taking an inst, and number/unit pairs. i.e. 12 :minutes 43 :hours 4 :days, etc. Adds numbers via reduce.
raw docstring

time-pair->secondsclj/s

(time-pair->seconds p)
(time-pair->seconds n u)
(time-pair->seconds n u & nus)

Turns a pair of number/unit i.e. 12 :minutes and converts it to seconds.

Turns a pair of number/unit i.e. 12 :minutes and converts it to seconds.
raw docstring

timestamp->instantclj/s

(timestamp->instant at)

Takes the milliseconds off the time string of a malformed database time string and makes it an inst.

Takes the milliseconds off the time string of a `malformed` database time string and makes it an inst.
raw docstring

type-of?clj/s

(type-of? thing string)

Does the type of a thing as a string include the string provided?

Does the type of a thing as a string include the string provided?
raw docstring

unqualified-keyword?clj/s

(unqualified-keyword? thing)

Is a thing a keyword with no namespace.

Is a thing a keyword with no namespace.
raw docstring

vt-dispatchclj/s

(vt-dispatch thing)

Takes a thing and returns it's value-type qualified keyword. This is a dumber case-based type dispatch.

Takes a thing and returns it's value-type qualified keyword.
This is a dumber case-based type dispatch.
raw docstring

walk-dissocclj/s

(walk-dissoc m k & ks)

Walks a map returning it without the provided keys.

Walks a map returning it without the provided keys.
raw docstring

wrecklessly-dispatch-new-mapclj/s

(wrecklessly-dispatch-new-map is-atom? m new-m)

A wrapper that helps make consistent return values for atoms and maps

A wrapper that helps make consistent return values for atoms and maps
raw docstring

wrecklessly-employclj/s

(wrecklessly-employ m path)

Employ function that returns the value of a path in the map

Employ function that returns the value of a path in the map
raw docstring

wrecklessly-handle-possible-atomsclj/s

(wrecklessly-handle-possible-atoms thing)

A helpful function to help with atoms. Returns [is-atom? safe-thing]

A helpful function to help with atoms.
Returns [is-atom? safe-thing]
raw docstring

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

× close