doc-src/TutorialI/Misc/pairs.thy
author paulson
Wed, 19 Jul 2000 12:28:32 +0200
changeset 9390 e6b96d953965
parent 8745 13b32661dde4
child 9541 d17c0b34d5c8
permissions -rw-r--r--
renamed // to / (which is what we want anyway) to avoid clash with the new use of // for quotienting

(*<*)
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
(*>*)