mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
fix: compat issue
This commit is contained in:
parent
7d9d9d45b8
commit
ab494fb753
2 changed files with 8 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ type 'a printer = Format.formatter -> 'a -> unit
|
||||||
|
|
||||||
(** {2 Basics} *)
|
(** {2 Basics} *)
|
||||||
|
|
||||||
|
type nonrec (+'good, +'bad) result = ('good, 'bad) result =
|
||||||
|
| Ok of 'good
|
||||||
|
| Error of 'bad
|
||||||
|
|
||||||
type (+'good, +'bad) t = ('good, 'bad) result =
|
type (+'good, +'bad) t = ('good, 'bad) result =
|
||||||
| Ok of 'good
|
| Ok of 'good
|
||||||
| Error of 'bad
|
| Error of 'bad
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@ type 'a printer = Format.formatter -> 'a -> unit
|
||||||
|
|
||||||
(** {2 Basics} *)
|
(** {2 Basics} *)
|
||||||
|
|
||||||
|
type nonrec (+'good, +'bad) result = ('good, 'bad) result =
|
||||||
|
| Ok of 'good
|
||||||
|
| Error of 'bad
|
||||||
|
|
||||||
type (+'good, +'bad) t = ('good, 'bad) result =
|
type (+'good, +'bad) t = ('good, 'bad) result =
|
||||||
| Ok of 'good
|
| Ok of 'good
|
||||||
| Error of 'bad
|
| Error of 'bad
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue