| 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 | |
| 8 | structure Unicode = |
| 9 | struct |
| 10 | |
| 11 | datatype kind = |
| 12 | Normal |
| 13 | | NormalPrivate |
| 14 | | HighSurrogate |
| 15 | | HighSurrogatePrivate |
| 16 | | LowSurrogate |
| 17 | | Special |
| 18 | |
| 19 | val _ = |
| 20 | [(0xFFFE, Special) |
| 21 | (0xF900, Normal), |
| 22 | (0xE000, NormalPrivate), |
| 23 | (0xDC00, LowSurrogate), |
| 24 | (0xDB80, HighSurrogatePrivate), |
| 25 | (0xD800, HighSurrogate) |
| 26 | (0x0000, Normal)] |
| 27 | |
| 28 | end |