(->multi-val x)(bif)(bif then)(bif bs then)(bif bs then x & xs)cond-let like macro for multi-vals. the first branch which bindings succeed at least once is taken.
cond-let like macro for multi-vals. the first branch which bindings succeed at least once is taken.
(bind g f)(bind-fn & body)(branch g h)(branch g h & xs)(branch* xs)(coll x)(compile env x)(compile-application env [verb & args :as _expr])(compile-bif-step [pat expr] return exit)(compile-fn* env [_ & arities])(compile-let* env [_ bindings & body])(consume n g)(defbind & body)(defbind* & body)(fmap g f)(from-seq s)(get-1 g)(get-all g)(hmap & {:as h})(i-multi-val? x)(to-multi-val x)(int-between a b)(int-range a b)(join a b)(join a b & xs)(join* xs)(lift f)(lift-1 f)(lift-2 f)(lift-3 f)(lift1 fsym)(lift2 fsym)(lift3 fsym)(lst & xs)(lst* xs)(lst->tup p)(lst->tup acc p)(meval code)(mix & xs)(mix* xs)(multi-val & body)(multi-val? x)(once v)(pair a b)(pairs & {:as h})(preview g max)(prob & xs)(probs m)takes a map of multi-val -> probability ex: (probs {(one-of true false) 1 "youpi" 3}) returns a multi-val that has 3/4 chances to return "youpi" and 1/4 chance to return either true or false
takes a map of multi-val -> probability
ex:
(probs {(one-of true false) 1 "youpi" 3})
returns a multi-val that has 3/4 chances to return "youpi"
and 1/4 chance to return either true or false (step g)(such-that g f)(tup & xs)(tup* xs)(value-kind env s)(with bindings & body)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |