doc-src/Tutorial/Ifexpr/normal
author wenzelm
Tue, 02 Oct 2001 20:23:33 +0200
changeset 11651 201b3f76c7b7
parent 5377 efb799c5ed3c
permissions -rw-r--r--
support non-oriented infix;

consts normal :: ifex => bool
primrec
"normal(CIF b) = True"
"normal(VIF x) = True"
"normal(IF b t e) = (normal t & normal e &
      (case b of CIF b => True | VIF x => True | IF x y z => False))"