doc-src/Tutorial/Ifexpr/normal
author kleing
Thu, 20 Jun 2002 21:44:54 +0200
changeset 13230 c5fad3c40d45
parent 5377 efb799c5ed3c
permissions -rw-r--r--
fail more gracefully, return proper exit codes, allow preset DISTPREFIX

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