package rea

  1. Overview
  2. Docs

Module StdRea.OptionSource

Stdlib.Option extensions.

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

Option traversal.

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

Physical equality preserving Option traversal.

Sourcetype r

Abstract effect representation for Option.

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

Option injection.

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

Option projection.

Sourceclass 'D monad_plus : object ... end

Base Option interpreter dictionary.

Sourceval monad_plus : 'D monad_plus as 'D

Default monad_plus dictionary.