--- a/Quot/quotient_typ.ML Wed Feb 17 09:26:10 2010 +0100
+++ b/Quot/quotient_typ.ML Wed Feb 17 09:26:38 2010 +0100
@@ -277,9 +277,9 @@
val rty = Syntax.read_typ lthy rty_str
val lthy1 = Variable.declare_typ rty lthy
val rel =
- Syntax.parse_term lthy1 rel_str
- |> Syntax.type_constraint (rty --> rty --> @{typ bool})
- |> Syntax.check_term lthy1
+ Syntax.parse_term lthy1 rel_str
+ |> Syntax.type_constraint (rty --> rty --> @{typ bool})
+ |> Syntax.check_term lthy1
val lthy2 = Variable.declare_term rel lthy1
in
(((vs, qty_name, mx), (rty, rel)), lthy2)