package General

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
type t = Int.t option
val some_if : bool -> Int.t lazy_t -> t
val some_if' : bool -> Int.t -> t
val is_some : t -> bool
val is_none : t -> bool
val value_def : t -> def:Int.t -> Int.t
val value : ?exc:exn -> t -> Int.t
val or_failure : ('a, unit, string, string, string, t -> Int.t) CamlinternalFormatBasics.format6 -> 'a
val map : t -> f:(Int.t -> 'a) -> 'a option
val iter : t -> f:(Int.t -> unit) -> unit
val filter : t -> f:(Int.t -> bool) -> t
val filter_map : t -> f:(Int.t -> 'a option) -> 'a option
val value_map : t -> def:'a -> f:(Int.t -> 'a) -> 'a