1.2.0 permalink Arrow_down_16x16
Bind the monadic value m to the function returning (f x) for argument x

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

(defmonadfn m-fmap
  "Bind the monadic value m to the function returning (f x) for argument x"
  [f m]
  (m-bind m (fn [x] (m-result (f x)))))
Vars in clojure.contrib.monads/m-fmap: fn
Used in 0 other vars

Comments top

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