doc-src/Tutorial/Misc/Itrev.thy
author nipkow
Sun, 25 Jan 2004 00:42:22 +0100
changeset 14360 e654599b114e
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Added an exception handler and error msg.

Itrev = Main +
consts itrev :: 'a list => 'a list => 'a list
primrec
"itrev []     ys = ys"
"itrev (x#xs) ys = itrev xs (x#ys)"
end