doc-src/Tutorial/CodeGen/comp
author berghofe
Mon, 21 Oct 2002 17:07:58 +0200
changeset 13660 e36798726ca4
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Changed type of Logic.strip_horn.

consts comp :: ('a,'v) expr => (('a,'v) instr) list
primrec
"comp (Cex v)       = [Const v]"
"comp (Vex a)       = [Load a]"
"comp (Bex f e1 e2) = (comp e2) @ (comp e1) @ [Apply f]"