doc-src/TutorialI/Misc/pairs.thy
author nipkow
Fri, 02 Jun 2000 15:19:18 +0200
changeset 9016 d61c76716984
parent 8745 13b32661dde4
child 9541 d17c0b34d5c8
permissions -rw-r--r--
*** empty log message ***

(*<*)
theory pairs = Main:;
term(*>*) "let (x,y) = f z in (y,x)";
(*<*)
term(*>*) "case xs of [] \\<Rightarrow> 0 | (x,y)#zs \\<Rightarrow> x+y"
(**)(*<*)
end
(*>*)