package stdune
package stdune
-
dune_filesystem_stubs
-
stdune
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Optional values
module O : sig ... end
val iter : 'a t -> f:('a -> unit) -> unit
val forall : 'a t -> f:('a -> bool) -> bool
val value : 'a t -> default:'a -> 'a
val value_exn : 'a t -> 'a
val some : 'a -> 'a t
val some_if : bool -> 'a -> 'a t
val is_some : _ t -> bool
val is_none : _ t -> bool
val to_list : 'a t -> 'a list
val hash : ('a -> int) -> 'a t -> int
first_some t1 t2
returns t1
if it has an underlying value, or t2
otherwise.
val compare : ('a -> 'a -> Ordering.t) -> 'a t -> 'a t -> Ordering.t
module List : sig ... end
module Unboxed : sig ... end
A poor man's unboxed option type. The value stored must not be immediate, unless it is a non-negative integer. In particular, unboxed options cannot be nested.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>