The pattern compiler turns to this target if it finds a pattern form, pattern expression, binding key or bind expression that it does not understand. This target can also supply default bindings for :bind forms.
The pattern compiler turns to this target if it finds a pattern form, pattern expression, binding key or bind expression that it does not understand. This target can also supply default bindings for :bind forms.
(bind-specs->update-fn bind-specs)
Takes a map of binding specifications and creates a function which when given a map of bindings, updates them according to the specs.
Takes a map of binding specifications and creates a function which when given a map of bindings, updates them according to the specs.
(compile-bind-spec k spec)
Takes a key and a spec, returns a function which when given a map of bindings, returns a value calculated from the bindings as described by spec.
Takes a key and a spec, returns a function which when given a map of bindings, returns a value calculated from the bindings as described by spec.
(make-target descriptor)
Finds the target factory which understands descriptor and uses it to create the corresponding target. Caches the result, so successive calls with the same descriptor return the same target. Uses the descriptor's sanitized (canonical) form as the cache key.
Finds the target factory which understands descriptor and uses it to create the corresponding target. Caches the result, so successive calls with the same descriptor return the same target. Uses the descriptor's sanitized (canonical) form as the cache key.
(merge-pattern-queue timeline start-pos pq)
Merges each pattern in pq into the timeline starting at start-pos.
Merges each pattern in pq into the timeline starting at start-pos.
(nanosleep ns)
Sleeps for ns nanoseconds. Attempts to be precise, even if this requires busy waiting.
Sleeps for ns nanoseconds. Attempts to be precise, even if this requires busy waiting.
(pfn & args)
Same as fn but marks the resulting function as a pattern transformer.
Same as fn but marks the resulting function as a pattern transformer.
Set of targets shared by all sequencers. These are automatically started when the first sequencer starts and stopped when the last active sequencer exits.
Set of targets shared by all sequencers. These are automatically started when the first sequencer starts and stopped when the last active sequencer exits.
(switch! atom new-val)
Sets the value of atom to new-val. Returns the previous value.
Sets the value of atom to new-val. Returns the previous value.
Keyword aliases which can be used to identify targets in :bind expressions.
Keyword aliases which can be used to identify targets in :bind expressions.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close