B2R2


OrElse Module

OrElse represents computation expressions that capture the result until successful.

Types

Type Description

OrElseBuilder

A builder for OrElse computation expression.

Functions and values

Function or value Description

bind f m

Full Usage: bind f m

Parameters:
    f : unit -> 'a option
    m : 'a option

Returns: 'a option
f : unit -> 'a option
m : 'a option
Returns: 'a option

orElse

Full Usage: orElse

Returns: OrElseBuilder
Returns: OrElseBuilder