(->* & forms)
(->*-reader form)
(build-thread-first-macro-body ->-macro & forms)
(cancel-remaining-steps procs)
(done-step args [proc-name keyword idx])
(label {:keys [:identifier :idx]} & body)
(parse-process-names process-name->process process-with-steps)
(register proc-name pipe)
(run-processes! procs)
Returns a map of procs
with their returned values.
Returns a map of `procs` with their returned values.
(run-step proc-with-step)
(run-step [{:keys [:proc-name]} step]
{:keys [:run-intermediate-steps?] :or {run-intermediate-steps? true}})
(thread-first-macro-builder name ->-macro)
Yes, a macro that creates another macro. It should be useful when you have some thread first macro from some of your dependencies (e.g. cats.core/->=) and you would like to use arrudeia.
It also creates a new data reader so you could use it with a tagged literal.
Yes, a macro that creates another macro. It should be useful when you have some thread first macro from some of your dependencies (e.g. cats.core/->=) and you would like to use arrudeia. It also creates a new data reader so you could use it with a tagged literal.
(valid-interleavings & processes-with-steps)
It returns all valid interleavings for processes with their steps.
For the example below, see that, for any interleaving, :step2
never comes
before of :step1
and :step3
never appears before :step2
. The order
passed at input is respected at interleavings so you always have valid
steps (we trust you to pass it correctly).
Usage example: (valid-interleavings [[:t1 :step1] [:t1 :step2] [:t1 :step3]] [[:t2 :other-step-1] [:t2 :other-step-2]]) => [... ;; other interleavings [[:t1 :step1] [:t2 :other-step-1] [:t1 :step2] [:t1 :step3] [:t2 :other-step-2]] ...] ;; other interleavings
It returns all valid interleavings for processes with their steps. For the example below, see that, for any interleaving, `:step2` never comes before of `:step1` and `:step3` never appears before `:step2`. The order passed at input is respected at interleavings so you always have valid steps (we trust you to pass it correctly). Usage example: (valid-interleavings [[:t1 :step1] [:t1 :step2] [:t1 :step3]] [[:t2 :other-step-1] [:t2 :other-step-2]]) => [... ;; other interleavings [[:t1 :step1] [:t2 :other-step-1] [:t1 :step2] [:t1 :step3] [:t2 :other-step-2]] ...] ;; other interleavings
(var->keyword v)
(waiting-step [proc-name keyword idx])
(waiting-step args [proc-name keyword idx])
(with-bypass & body)
(without-bypass & body)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close