'Executes' the sequence of monadic values resulting from mapping
f onto the values xs. f must return a monadic value.

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:211 top

(defmonadfn m-map
  "'Executes' the sequence of monadic values resulting from mapping
   f onto the values xs. f must return a monadic value."
  [f xs]
  (m-seq (map f xs)))
Vars in clojure.contrib.monads/m-map: map
Used in 0 other vars

Comments top

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