--- a/src/HOL/Library/List_Prefix.thy Sat Dec 01 18:51:46 2001 +0100
+++ b/src/HOL/Library/List_Prefix.thy Sat Dec 01 18:52:32 2001 +0100
@@ -13,13 +13,13 @@
subsection {* Prefix order on lists *}
-instance list :: ("term") ord ..
+instance list :: (type) ord ..
defs (overloaded)
prefix_def: "xs \<le> ys == \<exists>zs. ys = xs @ zs"
strict_prefix_def: "xs < ys == xs \<le> ys \<and> xs \<noteq> (ys::'a list)"
-instance list :: ("term") order
+instance list :: (type) order
by intro_classes (auto simp add: prefix_def strict_prefix_def)
lemma prefixI [intro?]: "ys = xs @ zs ==> xs \<le> ys"