doc-src/Tutorial/Misc/Itrev.thy
author berghofe
Mon, 12 May 2003 13:51:50 +0200
changeset 14008 f843528b9f3c
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Program extraction framework.

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