doc-src/Tutorial/Misc/Itrev.thy
author paulson
Mon, 12 Nov 2001 10:56:38 +0100
changeset 12156 d2758965362e
parent 5377 efb799c5ed3c
permissions -rw-r--r--
new-style numerals without leading #, along with generic 0 and 1

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