(bind-ignore m1 m2)
(bind-ignore m1 m2 & rest)
Executes monadic sub-routine withhout binding it's return value.
This is useful when you want to compose sub-routines that perform side-effects, and the return value is not needed.
Example:
(bind-ignore (try-either (log/info "performing random sub-routine")) (random-sub-routine 123))
Executes monadic sub-routine withhout binding it's return value. This is useful when you want to compose sub-routines that perform side-effects, and the return value is not needed. Example: > (bind-ignore > (try-either (log/info "performing random sub-routine")) > (random-sub-routine 123))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close