Stream.Operations
Notations for usual operations of the stream monad. You usually want to open this module when dealing with streams.
val return : 'a -> 'a t
Return.
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
Bind.
val (>>) : unit t -> 'a t -> 'a t
Bind with unit result.
val (<$>) : ('a -> 'b) -> 'a t -> 'b t
Functoriality.
val (<*>) : ('a -> 'b) t -> 'a t -> 'b t
Applicativity.
val let* : 'a t -> ('a -> 'b t) -> 'b t
val and* : 'a t -> 'b t -> ('a * 'b) t
Strength.