Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlton / basic / unicode.sml
CommitLineData
7f918cf1
CE
1(* Copyright (C) 1999-2005 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 *
4 * MLton is released under a BSD-style license.
5 * See the file MLton-LICENSE for details.
6 *)
7
8structure Unicode =
9struct
10
11datatype kind =
12 Normal
13 | NormalPrivate
14 | HighSurrogate
15 | HighSurrogatePrivate
16 | LowSurrogate
17 | Special
18
19val _ =
20 [(0xFFFE, Special)
21 (0xF900, Normal),
22 (0xE000, NormalPrivate),
23 (0xDC00, LowSurrogate),
24 (0xDB80, HighSurrogatePrivate),
25 (0xD800, HighSurrogate)
26 (0x0000, Normal)]
27
28end