Skip to content

Commit

Permalink
Avoid signature duplication by using the 'module type of' construct.
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/version/3.12@11058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
xclerc committed May 30, 2011
1 parent afb854c commit 3d779a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 97 deletions.
1 change: 0 additions & 1 deletion ocamlbuild/ocamlbuild_pack.mlpack
@@ -1,7 +1,6 @@
Log
My_unix
My_std
Std_signatures
Signatures
Shell
Display
Expand Down
4 changes: 2 additions & 2 deletions ocamlbuild/signatures.mli
Expand Up @@ -35,7 +35,7 @@ module type LIST = sig
val union : 'a list -> 'a list -> 'a list

(* Original functions *)
include Std_signatures.LIST
include module type of List
end

module type STRING = sig
Expand Down Expand Up @@ -89,7 +89,7 @@ module type STRING = sig
val explode : string -> char list

(** The following are original functions from the [String] module. *)
include Std_signatures.STRING
include module type of String
end

module type TAGS = sig
Expand Down
94 changes: 0 additions & 94 deletions ocamlbuild/std_signatures.mli

This file was deleted.

0 comments on commit 3d779a8

Please sign in to comment.