mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
minor formatting
This commit is contained in:
parent
9e4ade1941
commit
af2b6caee2
1 changed files with 2 additions and 2 deletions
|
|
@ -145,13 +145,13 @@ val (<*>) : ('a -> 'b, 'err) t -> ('a, 'err) t -> ('b, 'err) t
|
|||
|
||||
val join : (('a, 'err) t, 'err) t -> ('a, 'err) t
|
||||
(** [join t], in case of success, returns [`Ok o] from [`Ok (`Ok o)]. Otherwise,
|
||||
it fails with [`Error e] where [e] is the unwrapped error of [t].
|
||||
it fails with [`Error e] where [e] is the unwrapped error of [t].
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
val both : ('a, 'err) t -> ('b, 'err) t -> (('a * 'b), 'err) t
|
||||
(** [both a b], in case of success, returns [`Ok (o, o')] with the ok values
|
||||
of [a] and [b]. Otherwise, it fails, and the error of [a] is chosen over the
|
||||
error of [b] if both fail.
|
||||
error of [b] if both fail.
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
(** {2 Infix}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue