Same as state monad context, but short circuits if error happens, place error in return value
Same as state monad context, but short circuits if error happens, place error in return value
(get)
(put s)
(swap f)
(wrap-fn my-fn)
Wraps a (possibly side-effecting) function to a state monad
Wraps a (possibly side-effecting) function to a state monad
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close