doc-src/Tutorial/Ifexpr/normif
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

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)"