lambdapi

Proof assistant for the λΠ-calculus modulo rewriting
Library lambdapi.lplib
Module Lplib . Option
type 'a t = 'a option
val is_None : 'a t -> bool
val get : 'a -> 'a option -> 'a
val map : ( 'a -> 'b ) -> 'a t -> 'b t
val map_default : ( 'a -> 'b ) -> 'b -> 'a option -> 'b
val bind : ( 'a -> 'b t ) -> 'a t -> 'b t
val iter : ( 'a -> unit ) -> 'a t -> unit
val fold : ( 'a -> 'b -> 'a ) -> 'a -> 'b option -> 'a
val cmp : 'a Base.cmp -> 'a option Base.cmp
val eq : 'a Base.eq -> 'a option Base.eq
val pp : 'a Base.pp -> 'a option Base.pp