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
This commit is contained in:
parent
6fa4c1c7d2
commit
06358ba8b2
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 *)
|
||||
|
||||
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 *)
|
||||
|
||||
val is_some : _ t -> bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue