From aa94ae67cae3f42ae0fe4de265c06dd87a8dc2c3 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Fri, 5 Jul 2019 19:40:59 -0700 Subject: [PATCH] Add `Result.result` to the .mli file --- src/runtime/ppx_deriving_runtime.cppo.mli | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/runtime/ppx_deriving_runtime.cppo.mli b/src/runtime/ppx_deriving_runtime.cppo.mli index e3cacf07..397858af 100644 --- a/src/runtime/ppx_deriving_runtime.cppo.mli +++ b/src/runtime/ppx_deriving_runtime.cppo.mli @@ -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} *)