You can search for identifiers within the package.
in-package search v0.2.0
lascar.utils
Utils.Option
Several functions operating on values of type 'a option
'a option
val map : ('a -> 'b) -> 'a option -> 'b option
apply f v is Some (f x) if v is Some x, None if v is None
apply f v
Some (f x)
v
Some x
None
val iter : ('a -> unit) -> 'a option -> unit
iter f x applies f to v if x is Some v, does nothing if x is None
iter f x
f
x
Some v
val to_string : ('a -> string) -> 'a option -> string
to_string f v is f x if v is Some x, "" if v is None
to_string f v
f x
""