Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thierry-FreeBSD/fb9c0a14e8e5e94686d58547478b4ea6 to your computer and use it in GitHub Desktop.
Save thierry-FreeBSD/fb9c0a14e8e5e94686d58547478b4ea6 to your computer and use it in GitHub Desktop.
--- src/ppx_deriving_yojson_runtime.mli.orig 2020-11-07 23:40:55 UTC
+++ src/ppx_deriving_yojson_runtime.mli
@@ -1,4 +1,4 @@
-type 'a error_or = ('a, string) Result.result
+type 'a error_or = ('a, string) Result.t
val ( >>= ) : 'a error_or -> ('a -> 'b error_or) -> 'b error_or
val ( >|= ) : 'a error_or -> ('a -> 'b) -> 'b error_or
@@ -18,7 +18,7 @@ module Int64 : (module type of Int64)
module Nativeint : (module type of Nativeint)
module Array : (module type of Array)
module Result : sig
- type ('a, 'b) result = ('a, 'b) Result.result =
+ type ('a, 'b) result = ('a, 'b) Result.t =
| Ok of 'a
| Error of 'b
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment