Header menu logo fantomas

Option Module

Functions and values

Function or value Description

attempt f

Full Usage: attempt f

Parameters:
    f : unit -> 'T

Returns: 'T option
f : unit -> 'T
Returns: 'T option

mapFold f s opt

Full Usage: mapFold f s opt

Parameters:
    f : 'a -> 'b -> 'c * 'a
    s : 'a
    opt : 'b option

Returns: 'c option * 'a
f : 'a -> 'b -> 'c * 'a
s : 'a
opt : 'b option
Returns: 'c option * 'a

Type something to start searching.