minor formatting

This commit is contained in:
Simon Cruanes 2015-11-22 23:13:08 +01:00
parent 9e4ade1941
commit af2b6caee2

View file

@ -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 val join : (('a, 'err) t, 'err) t -> ('a, 'err) t
(** [join t], in case of success, returns [`Ok o] from [`Ok (`Ok o)]. Otherwise, (** [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 *) @since NEXT_RELEASE *)
val both : ('a, 'err) t -> ('b, 'err) t -> (('a * 'b), 'err) t 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 (** [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 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 *) @since NEXT_RELEASE *)
(** {2 Infix} (** {2 Infix}