mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
docs: fix CCOption.map_or doc comment (#407)
This commit is contained in:
parent
6fa4c1c7d2
commit
7f4c87cfb9
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ val map_or : default:'b -> ('a -> 'b) -> 'a t -> 'b
|
||||||
@since 0.16 *)
|
@since 0.16 *)
|
||||||
|
|
||||||
val map_lazy : (unit -> 'b) -> ('a -> 'b) -> 'a t -> 'b
|
val map_lazy : (unit -> 'b) -> ('a -> 'b) -> 'a t -> 'b
|
||||||
(** [map_lazy default_fn f o] if [f o] if [o = Some x], [default_fn ()] otherwise.
|
(** [map_lazy default_fn f o] is [f x] if [o = Some x], [default_fn ()] otherwise.
|
||||||
@since 1.2 *)
|
@since 1.2 *)
|
||||||
|
|
||||||
val is_some : _ t -> bool
|
val is_some : _ t -> bool
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue