Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/smtml/altergo_mappings.default.ml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,4 @@ module M = struct
include Make ()
end

module M' : Mappings_intf.M_with_make = M

include Mappings.Make (M)
2 changes: 2 additions & 0 deletions src/smtml/mappings.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
include Mappings_intf

module Make (M_with_make : M_with_make) : S_with_fresh = struct
module Mappings : M_with_make = M_with_make

module Make_ (M : M) : S = struct
open Ty
module Smap = Symbol.Map
Expand Down
2 changes: 2 additions & 0 deletions src/smtml/mappings_intf.ml
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,8 @@ end
(** The [S_with_fresh] module type extends [S] with a functor for creating fresh
instances of [S] and a flag indicating availability of the mappings. *)
module type S_with_fresh = sig
module Mappings : M_with_make

(** [Fresh.Make ()] creates a new instance of the [S] module type. *)
module Fresh : sig
module Make () : S
Expand Down
2 changes: 0 additions & 2 deletions src/smtml/z3_mappings.default.ml
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,4 @@ module M = struct
let is_available = Internals.is_available
end

module M' : Mappings_intf.M_with_make = M

include Mappings.Make (M)
Loading