doc-src/Tutorial/Misc/Itrev.thy
author nipkow
Wed, 15 May 2002 13:50:16 +0200
changeset 13153 4b052946b41c
parent 5377 efb799c5ed3c
permissions -rw-r--r--
arith can now deal with div 2 and mod 2.

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