package batteries

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module BatOption.InfixSource

Sourceval (|?) : 'a option -> 'a -> 'a

Like default, with the arguments reversed. None |? 10 returns 10, while Some "foo" |? "bar" returns "foo".

Sourceval (>>=) : 'a option -> ('a -> 'b option) -> 'b option

as Monad.bind

OCaml

Innovation. Community. Security.