package batteries

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

Operations on options, with labels.

val may : f:('a -> unit) -> 'a option -> unit
val map : f:('a -> 'b) -> 'a option -> 'b option
val map_default : f:('a -> 'b) -> 'b -> 'a option -> 'b
OCaml

Innovation. Community. Security.