Skip to content

Commit

Permalink
Merge pull request #197 from anmonteiro/patch-1
Browse files Browse the repository at this point in the history
Add `Result.result` to the .mli file
  • Loading branch information
gasche authored Jul 6, 2019
2 parents fe9ab34 + aa94ae6 commit 403d384
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/runtime/ppx_deriving_runtime.cppo.mli
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ module Result : sig
type ('a, 'b) t = ('a, 'b) Result.result =
| Ok of 'a
| Error of 'b

(* we also expose Result.result for backward-compatibility *)
type ('a, 'b) result = ('a, 'b) Result.result =
| Ok of 'a
| Error of 'b
end

(** {3 Formatting} *)
Expand Down

0 comments on commit 403d384

Please sign in to comment.