clojure.core.async.impl.ioc-macros
(->Call refs)
Positional factory function for class clojure.core.async.impl.ioc_macros.Call.
(->Const value)
Positional factory function for class clojure.core.async.impl.ioc_macros.Const.
(->EndFinally)
Positional factory function for class clojure.core.async.impl.ioc_macros.EndFinally.
(->Jmp value block)
Positional factory function for class clojure.core.async.impl.ioc_macros.Jmp.
(->PopTry)
Positional factory function for class clojure.core.async.impl.ioc_macros.PopTry.
(->Return value)
Positional factory function for class clojure.core.async.impl.ioc_macros.Return.
(add-block)
Adds a new block, returns its id, but does not change the current block (does not call set-block).
(all itms)
Assumes that itms is a list of state monad function results, threads the state map
through all of them. Returns a vector of all the results.
(gen-plan binds id-expr)
Allows a user to define a state monad binding plan.
(gen-plan
[_ (assoc-in-plan [:foo :bar] 42)
val (get-in-plan [:foo :bar])]
val)
(map->Call m__7585__auto__)
Factory function for class clojure.core.async.impl.ioc_macros.Call, taking a map of keywords to field values.
(map->Case m__7585__auto__)
Factory function for class clojure.core.async.impl.ioc_macros.Case, taking a map of keywords to field values.
(map->Dot m__7585__auto__)
Factory function for class clojure.core.async.impl.ioc_macros.Dot, taking a map of keywords to field values.
(map->Fn m__7585__auto__)
Factory function for class clojure.core.async.impl.ioc_macros.Fn, taking a map of keywords to field values.
(map->Jmp m__7585__auto__)
Factory function for class clojure.core.async.impl.ioc_macros.Jmp, taking a map of keywords to field values.
(no-op)
This function can be used inside a gen-plan when no operation is to be performed
(push-binding key value)
Sets the binding 'key' to value. This operation can be undone via pop-bindings.
Bindings are stored in the state hashmap.
(set-block block-id)
Sets the current block being written to by the functions. The next add-instruction call will append to this block