package spotlib

  1. Overview
  2. Docs
val (>>=) : 'a M.t -> ('a -> 'b M.t) -> 'b M.t

synonym of bind

val (>>|) : 'a M.t -> ('a -> 'b) -> 'b M.t

synonum of fmap, with the flipped arguments

val (>|=) : 'a M.t -> ('a -> 'b) -> 'b M.t

synonum of fmap, with the flipped arguments

Applicative style binops

val (^<$>) : ('a -> 'b) -> 'a M.t -> 'b M.t

same as map, <$> in Haskell

val (/<*>) : ('a -> 'b) M.t -> 'a M.t -> 'b M.t

<*> in Haskell

OCaml

Innovation. Community. Security.