Skip to content

Commit

Permalink
Add Legacy.Result for OCaml >= 4.8.0 (#913)
Browse files Browse the repository at this point in the history
Now, users can pattern match Result.t returned from some library using
Legacy.Result.Error while Batteries is opened.

Ref #839
  • Loading branch information
rixed authored and UnixJunkie committed Sep 30, 2019
1 parent d563bd2 commit 43068b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/batteries.mlv
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module Legacy = struct
module Big_int = Big_int
module Bigarray = Bigarray
module Str = Str
##V>=4.8## module Result = Result
end

(* stdlib modules *)
Expand Down

0 comments on commit 43068b3

Please sign in to comment.