Commits

camlspotter committed 3b7d12e

Generalized type for result monad

  • Participants
  • Parent commits c9d39bb

Comments (0)

Files changed (1)

File lib/json_conv.mli

 val mc_fields_of_json : 
   ('a, Json.t) Decoder.t 
   -> Json.t 
-  -> ((string * 'a) list, Json.t) Result.t
+  -> ((string * 'a) list, Json.t Error.t) Result.t