diff -r dd58f13a8eb4 -r eb85850d3eb7 src/HOL/ex/CodeEmbed.thy --- a/src/HOL/ex/CodeEmbed.thy Fri Nov 17 02:19:55 2006 +0100 +++ b/src/HOL/ex/CodeEmbed.thy Fri Nov 17 02:20:03 2006 +0100 @@ -22,9 +22,10 @@ | TFix vname sort (infix "\\" 117) abbreviation - Fun :: "typ \ typ \ typ" (infixr "\" 115) + Fun :: "typ \ typ \ typ" (infixr "\" 115) where "ty1 \ ty2 \ Type (STR ''fun'') [ty1, ty2]" - Funs :: "typ list \ typ \ typ" (infixr "{\}" 115) +abbreviation + Funs :: "typ list \ typ \ typ" (infixr "{\}" 115) where "tys {\} ty \ foldr (op \) tys ty" datatype "term" = @@ -33,7 +34,7 @@ | App "term" "term" (infixl "\" 110) abbreviation - Apps :: "term \ term list \ term" (infixl "{\}" 110) + Apps :: "term \ term list \ term" (infixl "{\}" 110) where "t {\} ts \ foldl (op \) t ts"