package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val bind : 'a option -> f:('b -> 'c option) -> 'c option
val map : f:('a -> 'b) -> 'c option -> 'd option
val get : 'a option -> 'b
val value : default:'a -> 'b option -> 'c
val value_map : f:('a -> 'b) -> default:'c -> 'd option -> 'e
val iter : f:('a -> unit) -> 'b option -> unit
val cons : 'a option -> 'b list -> 'b list
module Infix : sig ... end
include module type of struct include Infix end
val return : 'a -> 'b option
val (>>=) : 'a option -> ('a -> 'b option) -> 'b option
val (>>|) : 'a option -> ('a -> 'b) -> 'b option
val to_list : 'a option -> 'b list
val is_some : 'a option -> bool
val plus : 'a option -> 'a option -> 'a option
val print : (unit -> 'a -> string) -> unit -> 'b option -> string
OCaml

Innovation. Community. Security.