Liking cljdoc? Tell your friends :D

com.unbounce.treajure.monad


*>clj

source

bind-ignoreclj

(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))
sourceraw docstring

docljmacro

(do & instr)
source

monadic-value?cljmultimethod

source

returnclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close