doc-src/Tutorial/Datatype/abdata
author paulson
Mon, 28 Dec 1998 16:48:22 +0100
changeset 6039 01f67f5f8dd0
parent 5851 15ce4c1c8313
permissions -rw-r--r--
deleted "escape" and "trim"; Basis Library can do string escapes if necessary

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)