Source file result_compat.ml

1
2
3
4
5
(** Result type for OCaml < 4.03 *)

type ('a, 'error) result =
  | Ok    of 'a
  | Error of 'error