Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / atoms / const-type.fun
CommitLineData
7f918cf1
CE
1(* Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9functor ConstType (S: CONST_TYPE_STRUCTS): CONST_TYPE =
10struct
11
12open S
13
14datatype t = Bool | Real of RealSize.t | String | Word of WordSize.t
15
16end