Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / elaborate / elaborate.fun
CommitLineData
7f918cf1
CE
1(* Copyright (C) 1999-2005 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 Elaborate (S: ELABORATE_STRUCTS): ELABORATE =
10struct
11
12open S
13
14structure Env = ElaborateEnv (structure Ast = Ast
15 structure CoreML = CoreML
16 structure TypeEnv = TypeEnv)
17
18local
19 open Env
20in
21 structure Decs = Decs
22end
23
24structure ElaborateMLBs = ElaborateMLBs (structure Ast = Ast
25 structure CoreML = CoreML
26 structure Decs = Decs
27 structure Env = Env)
28
29open ElaborateMLBs
30end