diff -r f27f66e9adca -r 66a8113ac23e src/ZF/List.thy --- a/src/ZF/List.thy Thu Aug 29 11:39:50 2024 +0200 +++ b/src/ZF/List.thy Thu Aug 29 11:43:14 2024 +0200 @@ -15,9 +15,13 @@ notation Nil (\[]\) +nonterminal list_args syntax - "_List" :: "is \ i" (\[(_)]\) -syntax_consts "_List" \ Cons + "" :: "i \ list_args" (\_\) + "_List_args" :: "[i, list_args] \ list_args" (\_,/ _\) + "_List" :: "list_args \ i" (\[(_)]\) +syntax_consts + "_List_args" "_List" \ Cons translations "[x, xs]" == "CONST Cons(x, [xs])" "[x]" == "CONST Cons(x, [])"