doc-src/Tutorial/Datatype/mutnested
author berghofe
Tue, 22 May 2001 15:10:06 +0200
changeset 11325 a5e0289dd56c
parent 9255 2ceb11a2e190
permissions -rw-r--r--
Inductive definitions are now introduced earlier in the theory hierarchy.

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)