theory Scratch imports Main begin typedecl syntax_click_list_args datatype 'a click_list = CLNil ("\\") | CLCons 'a "'a click_list" consts "syntax_click_list" :: "syntax_click_list_args \ 'a" ("\_\") syntax "" :: "args \ syntax_click_list_args" ("_") translations "\x, xs\" == "CONST CLCons x \xs\" "\x\" == "CONST CLCons x \\" term "\\" term "\x\" term "\x,y\" end