doc-src/Tutorial/Misc/Itrev.thy
author wenzelm
Tue, 25 Jul 2000 00:02:52 +0200
changeset 9434 d2fa043ab24f
parent 5377 efb799c5ed3c
permissions -rw-r--r--
do nat pass theory value, but sg_ref;

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