package libsail
Module Libsail.InteractiveSource
Source
type istate = {ast : Type_check.tannot Ast_defs.ast;effect_info : Effects.side_effect_info;env : Type_check.Env.t;default_sail_dir : string;config : Yojson.Basic.t option;
}Each interactive command is passed this struct, containing the abstract syntax tree, effect info and the type-checking environment. Also contains the default Sail directory