Elimination of fully-functorial style.
authorpaulson
Fri, 16 Feb 1996 13:49:40 +0100
changeset 1504 a65cf361e5c1
parent 1503 7dba648ee25c
child 1505 14f4c55bbe9a
Elimination of fully-functorial style. Type tactic changed to a type abbrevation (from a datatype). Constructor tactic and function apply deleted.
src/Pure/type.ML
--- a/src/Pure/type.ML	Fri Feb 16 13:29:22 1996 +0100
+++ b/src/Pure/type.ML	Fri Feb 16 13:49:40 1996 +0100
@@ -10,8 +10,9 @@
 *)
 
 signature TYPE =
-sig
-  structure Symtab: SYMTAB
+  sig
+  exception TUNIFY
+  exception TYPE_MATCH
   val no_tvars: typ -> typ
   val varifyT: typ -> typ
   val unvarifyT: typ -> typ
@@ -57,16 +58,11 @@
   val unify: type_sig -> int -> (indexname * typ) list -> (typ * typ)
     -> (indexname * typ) list * int
   val raw_unify: typ * typ -> bool
-  exception TUNIFY
-  exception TYPE_MATCH
-end;
+  end;
 
-functor TypeFun(structure Symtab: SYMTAB and Syntax: SYNTAX): TYPE =
+structure Type : TYPE =
 struct
 
-structure Symtab = Symtab;
-
-
 (*** TFrees vs TVars ***)
 
 (*disallow TVars*)