Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / atoms / symbol.sig
1 (* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 2004-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9 signature SYMBOL_STRUCTS =
10 sig
11 end
12
13 signature SYMBOL =
14 sig
15 include SYMBOL_STRUCTS
16
17 type t
18
19 (* <= is alphabetical order *)
20 val <= : t * t -> bool
21 val asterisk: t
22 val bogus: t
23 val compare: t * t -> Relation.t
24 val equal: t
25 val equals: t * t -> bool
26 val foreach: (t -> unit) -> unit
27 val fromString: string -> t
28 val hash: t -> word
29 val itt: t
30 val layout: t -> Layout.t
31 val plist: t -> PropertyList.t
32 val toString: t -> string
33 val unit: t
34 end