1.2.0 permalink Arrow_down_16x16
  • (m-when-not test m-expr)
If test if logical false, return monadic value m-expr, else return
(m-result nil).

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/monads.clj:259 top

(defmacro m-when-not
  "If test if logical false, return monadic value m-expr, else return
   (m-result nil)."
  [test m-expr]
  `(if ~test (~'m-result nil) ~m-expr))
Vars in clojure.contrib.monads/m-when-not: defmacro test concat list seq
Used in 0 other vars

Comments top

No comments for m-when-not. Log in to add a comment.