Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlton / basic / char.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 Char: CHAR =
9 struct
10 open Char0
11
12 val layout = Layout.str o escapeSML
13
14 val fromInt =
15 Trace.trace("Char.fromInt", Layout.str o Int.toString, layout) fromInt
16
17 val isDigit = Trace.trace("Char.isDigit", layout, Bool.layout) isDigit
18 end