doc-src/Tutorial/Datatype/abdata
author oheimb
Mon, 12 Apr 2004 12:18:48 +0200
changeset 14535 7cb26928e70d
parent 5851 15ce4c1c8313
permissions -rw-r--r--
added Streams.thy (with stream concatenation etc.)

datatype
    'a aexp = IF ('a bexp) ('a aexp) ('a aexp)
            | Sum ('a aexp) ('a aexp)
            | 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)