doc-src/Tutorial/Ifexpr/normal
author wenzelm
Wed, 09 Jun 2004 18:54:43 +0200
changeset 14904 7d8dc92fcb7f
parent 5377 efb799c5ed3c
permissions -rw-r--r--
removed separate logtypes field of syntax; removed test_read, simple_str_of_sort, simple_string_of_typ; provide default_mode;

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