doc-src/Tutorial/Datatype/mutnested
author webertj
Fri, 16 Apr 2004 20:34:41 +0200
changeset 14604 1946097f7068
parent 9255 2ceb11a2e190
permissions -rw-r--r--
exactly1true rewritten (much better when converting to CNF now)

datatype
    'a aexp = IF ('a bexp) ('a aexp) ('a aexp)
            | Sum ('a aexp list)
            | Diff ('a aexp) ('a aexp)
            | Var 'a
            | Num nat
and 'a bexp = Less ('a aexp) ('a aexp)
            | And ('a bexp) ('a bexp)
            | Neg ('a bexp)