package producer

  1. Overview
  2. Docs

Monadic type, used to control effects (usually asynchronous execution) in a producer graph.

type 'a t
val return : 'a -> 'a t

return a lifts the value a into the monadic context.

val bind : 'a t -> ('a -> 'b t) -> 'b t

bind ma fn applies the monadic function fn to the monadic value ma.

OCaml

Innovation. Community. Security.