(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.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close