doc-src/Tutorial/Ifexpr/normif
author aspinall
Tue, 16 Nov 2004 20:20:14 +0100
changeset 15289 1d2dba93ef08
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Markup obtain as introducing a nested goal.

consts normif :: ifex => ifex => ifex => ifex
primrec
"normif (CIF b)    t e = IF (CIF b) t e"
"normif (VIF x)    t e = IF (VIF x) t e"
"normif (IF b t e) u f = normif b (normif t u f) (normif e u f)"