Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / mlton / elaborate / scope.sig
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
9 signature SCOPE_STRUCTS =
10 sig
11 structure Ast: AST
12 end
13
14 signature SCOPE =
15 sig
16 include SCOPE_STRUCTS
17
18 (* Add free type variables to the val or fun declaration where they are
19 * implicitly scoped.
20 *)
21 val scope: Ast.Dec.t -> Ast.Dec.t
22 end