summaryrefslogtreecommitdiff
path: root/src/initial_check.mli
blob: feed37b89424ea1f0881664e06c172476c8bf869 (plain)
1
2
3
4
5
6
7
8
9
10
11
open Ast
open Type_internal
type kind = Type_internal.kind
type typ = Type_internal.t

type envs = Nameset.t * kind Envmap.t * tannot Envmap.t
type 'a envs_out = 'a * envs

val to_ast : Nameset.t -> kind Envmap.t -> tannot Envmap.t -> Parse_ast.defs -> tannot defs * kind Envmap.t
val to_ast_exp : kind Envmap.t -> Parse_ast.exp -> Type_internal.tannot Ast.exp