changeset 3046 | 9b0324e1293b |
parent 2950 | 0911cb7bf696 |
child 3065 | 51ef8a3cb6ef |
3045:d0ad264f8c4f | 3046:9b0324e1293b |
---|---|
5 |
5 |
6 (* |
6 (* |
7 plain nominal_datatype definition without an |
7 plain nominal_datatype definition without an |
8 atom_decl - example by John Matthews |
8 atom_decl - example by John Matthews |
9 *) |
9 *) |
10 |
|
11 |
10 |
12 nominal_datatype 'a Maybe = |
11 nominal_datatype 'a Maybe = |
13 Nothing |
12 Nothing |
14 | Just 'a |
13 | Just 'a |
15 |
14 |