Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / elaborate / elaborate-mlbs.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2017 Matthew Fluet.
2 * Copyright (C) 1999-2005 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 * Copyright (C) 1997-2000 NEC Research Institute.
5 *
6 * MLton is released under a BSD-style license.
7 * See the file MLton-LICENSE for details.
8 *)
9
10signature ELABORATE_MLBS_STRUCTS =
11 sig
12 structure Ast: AST
13 structure CoreML: CORE_ML
14 structure Decs: DECS
15 structure Env: ELABORATE_ENV
16 sharing Ast = Env.Ast
17 sharing CoreML = Decs.CoreML = Env.CoreML
18 sharing Decs = Env.Decs
19 end
20
21signature ELABORATE_MLBS =
22 sig
23 include ELABORATE_MLBS_STRUCTS
24
25 val elaborateMLB:
26 Ast.Basdec.t * {addPrim: Env.t -> CoreML.Dec.t list}
27 -> Env.t * (CoreML.Dec.t list * bool) vector
28 end