Misc.Stdlib.Option

Section: OCaml library (3o)
Updated: 2020-01-30
Index Return to Main Contents
 

NAME

Misc.Stdlib.Option - no description  

Module

Module Misc.Stdlib.Option  

Documentation

Module Option
 :  sig end

type 'a t = 'a option

val is_none : 'a t -> bool

val is_some : 'a t -> bool

val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool

val iter : ('a -> unit) -> 'a t -> unit

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

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

val value_default : ('a -> 'b) -> default:'b -> 'a t -> 'b


 

Index

NAME
Module
Documentation

This document was created by man2html, using the manual pages.
Time: 00:05:48 GMT, March 31, 2021