Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 2009 Matthew Fluet. |
2 | * Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh | |
3 | * Jagannathan, and Stephen Weeks. | |
4 | * Copyright (C) 1997-2000 NEC Research Institute. | |
5 | * | |
6 | * MLton is released under a BSD-style license. | |
7 | * See the file MLton-LICENSE for details. | |
8 | *) | |
9 | ||
10 | signature FIELD_STRUCTS = | |
11 | sig | |
12 | structure Symbol: SYMBOL | |
13 | end | |
14 | ||
15 | signature FIELD = | |
16 | sig | |
17 | include FIELD_STRUCTS | |
18 | ||
19 | datatype t = | |
20 | Int of int | |
21 | | Symbol of Symbol.t | |
22 | ||
23 | val <= : t * t -> bool (* ordering used for sorting *) | |
24 | val equals: t * t -> bool | |
25 | val layout: t -> Layout.t | |
26 | val toString: t -> string | |
27 | end |