doc-src/Tutorial/Ifexpr/norm
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 norm :: ifex => ifex
primrec
"norm (CIF b)    = CIF b"
"norm (VIF x)    = VIF x"
"norm (IF b t e) = normif b (norm t) (norm e)"