1 (* Copyright (C
) 1999-2007 Henry Cejtin
, Matthew Fluet
, Suresh
2 * Jagannathan
, and Stephen Weeks
.
3 * Copyright (C
) 1997-2000 NEC Research Institute
.
5 * MLton is released under a BSD
-style license
.
6 * See the file MLton
-LICENSE for details
.
9 structure Primitive
= struct
11 (* Primitive
Basis (Definition
) *)
14 datatype t
= datatype bool
15 datatype bool = datatype t
22 exception Match
= Match
23 exception PrimOverflow
= Overflow
27 datatype t
= datatype list
28 datatype list
= datatype t
32 datatype t
= datatype ref
33 datatype ref
= datatype t
41 (* Primitive
Basis (Basis Library
) *)
53 (* Primitive
Basis (Primitive Types
) *)
254 type t
= Char8
.t vector
259 type t
= Char16
.t vector
264 type t
= Char32
.t vector
434 (* Primitive
Basis (MLton Extensions
) *)
450 (* Top
-level bindings
*)
451 datatype bool = datatype Primitive
.Bool.bool
452 type exn
= Primitive
.Exn
.exn
453 datatype list
= datatype Primitive
.List.list
454 datatype ref
= datatype Primitive
.Ref
.ref
455 type unit
= Primitive
.Unit
.unit
456 type 'a array
= 'a Primitive
.Array
.array
457 type 'a vector
= 'a Primitive
.Vector.vector