Module StdRea.Option

Stdlib.Option extensions.

val map_er : ('a -> ('R, 'e, 'b, ['R, 'D] pointed' as 'D) er) -> 'a Stdlib.Option.t -> ('R, 'e, 'b Stdlib.Option.t, 'D) er

Option traversal.

val map_eq_er : ('a -> ('R, 'e, 'a, ['R, 'D] pointed' as 'D) er) -> 'a Stdlib.Option.t -> ('R, 'e, 'a Stdlib.Option.t, 'D) er

Physical equality preserving Option traversal.

type r

Abstract effect representation for Option.

val to_rea : 'a Stdlib.Option.t -> (r, 'e, 'a) s

Option injection.

val of_rea : (r, 'e, 'a) s -> 'a Stdlib.Option.t

Option projection.

class 'D monad_plus : object ... end

Base Option interpreter dictionary.

val monad_plus : 'D monad_plus as 'D

Default monad_plus dictionary.