package libsail

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

type istate = {
  1. ctx : Initial_check.ctx;
  2. ast : Type_check.typed_ast;
  3. effect_info : Effects.side_effect_info;
  4. env : Type_check.Env.t;
  5. default_sail_dir : string;
  6. config : Yojson.Basic.t option;
}
val initial_istate : Yojson.Basic.t option -> string -> istate
OCaml

Innovation. Community. Security.