[sledge] Simplify using shadowing of modules from includes

Summary:
OCaml 4.08 supports shadowing modules from includes, which enables
some simplification.

Reviewed By: ngorogiannis

Differential Revision: D18736379

fbshipit-source-id: 646e2c07c
master
Josh Berdine 5 years ago committed by Facebook Github Bot
parent b1a6928a50
commit b22d8b4151

@ -12,16 +12,8 @@ include (
sig sig
include include
(module type of Base (module type of Base
(* extended below, remove *)
with module Array := Base.Array
and module Invariant := Base.Invariant
and module List := Base.List
and module Map := Base.Map
and module Option := Base.Option
and module Result := Base.Result
and module Set := Base.Set
(* prematurely deprecated, remove and use Stdlib instead *) (* prematurely deprecated, remove and use Stdlib instead *)
and module Filename := Base.Filename with module Filename := Base.Filename
and module Format := Base.Format and module Format := Base.Format
and module Marshal := Base.Marshal and module Marshal := Base.Marshal
and module Scanf := Base.Scanf and module Scanf := Base.Scanf

@ -12,16 +12,8 @@ include module type of (
sig sig
include include
(module type of Base (module type of Base
(* extended below, remove *)
with module Array := Base.Array
and module Invariant := Base.Invariant
and module List := Base.List
and module Map := Base.Map
and module Option := Base.Option
and module Result := Base.Result
and module Set := Base.Set
(* prematurely deprecated, remove and use Stdlib instead *) (* prematurely deprecated, remove and use Stdlib instead *)
and module Filename := Base.Filename with module Filename := Base.Filename
and module Format := Base.Format and module Format := Base.Format
and module Marshal := Base.Marshal and module Marshal := Base.Marshal
and module Scanf := Base.Scanf and module Scanf := Base.Scanf

Loading…
Cancel
Save