--- a/src/Pure/Isar/context_rules.ML Sun Nov 01 15:44:26 2009 +0100
+++ b/src/Pure/Isar/context_rules.ML Sun Nov 01 16:23:31 2009 +0100
@@ -7,8 +7,7 @@
signature CONTEXT_RULES =
sig
- type netpair
- type T
+ type netpair = ((int * int) * (bool * thm)) Net.net * ((int * int) * (bool * thm)) Net.net
val netpair_bang: Proof.context -> netpair
val netpair: Proof.context -> netpair
val orderlist: ((int * int) * 'a) list -> 'a list
@@ -65,7 +64,7 @@
type netpair = ((int * int) * (bool * thm)) Net.net * ((int * int) * (bool * thm)) Net.net;
val empty_netpairs: netpair list = replicate (length rule_indexes) (Net.empty, Net.empty);
-datatype T = Rules of
+datatype rules = Rules of
{next: int,
rules: (int * ((int * bool) * thm)) list,
netpairs: netpair list,
@@ -92,7 +91,7 @@
structure Rules = GenericDataFun
(
- type T = T;
+ type T = rules;
val empty = make_rules ~1 [] empty_netpairs ([], []);
val extend = I;