package dune-private-libs

  1. Overview
  2. Docs
Private libraries of Dune

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dune-2.5.1.tbz
sha256=8f77d3a87f208e0d7cccaa1c48c4bb1bb87d62d07c3f25e9b8ba298e028ce52b
sha512=f209f12ced10c1abf8782bdb0143f4cec77795f7174d2cc75130afb1e01550b01f2f77b9e3ec4888efdad83d2f9878d179b39126f824f4e522f3ef4da34bf27e

doc/dune-private-libs.stdune/Stdune/Option/index.html

Module Stdune.OptionSource

Optional values

Sourcetype 'a t = 'a option =
  1. | None
  2. | Some of 'a
Sourcemodule O : sig ... end
Sourceval map : 'a t -> f:('a -> 'b) -> 'b t
Sourceval bind : 'a t -> f:('a -> 'b t) -> 'b t
Sourceval iter : 'a t -> f:('a -> unit) -> unit
Sourceval forall : 'a t -> f:('a -> bool) -> bool
Sourceval value : 'a t -> default:'a -> 'a
Sourceval value_exn : 'a t -> 'a
Sourceval some : 'a -> 'a t
Sourceval some_if : bool -> 'a -> 'a t
Sourceval is_some : _ t -> bool
Sourceval is_none : _ t -> bool
Sourceval both : 'a t -> 'b t -> ('a * 'b) t
Sourceval split : ('a * 'b) t -> 'a t * 'b t
Sourceval to_list : 'a t -> 'a list
Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
Sourceval hash : ('a -> int) -> 'a t -> int
Sourceval compare : ('a -> 'a -> Ordering.t) -> 'a t -> 'a t -> Ordering.t
Sourceval try_with : (unit -> 'a) -> 'a option
Sourcemodule List : sig ... end