Skip to content

Commit

Permalink
fix: compat issue
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Dec 14, 2019
1 parent 7d9d9d4 commit ab494fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/CCResult.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ type 'a printer = Format.formatter -> 'a -> unit

(** {2 Basics} *)

type nonrec (+'good, +'bad) result = ('good, 'bad) result =
| Ok of 'good
| Error of 'bad

type (+'good, +'bad) t = ('good, 'bad) result =
| Ok of 'good
| Error of 'bad
Expand Down
4 changes: 4 additions & 0 deletions src/core/CCResult.mli
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ type 'a printer = Format.formatter -> 'a -> unit

(** {2 Basics} *)

type nonrec (+'good, +'bad) result = ('good, 'bad) result =
| Ok of 'good
| Error of 'bad

type (+'good, +'bad) t = ('good, 'bad) result =
| Ok of 'good
| Error of 'bad
Expand Down

0 comments on commit ab494fb

Please sign in to comment.