package catala

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

Module Scalc.Compile_from_lambdaSource

Sourcemodule A = Ast
Sourcemodule L = Lcalc.Ast
Sourcemodule D = Dcalc.Ast
Sourcetype ctxt = {
  1. func_dict : A.TopLevelName.t L.VarMap.t;
  2. decl_ctx : D.decl_ctx;
  3. var_dict : A.LocalName.t L.VarMap.t;
  4. inside_definition_of : A.LocalName.t option;
}
Sourceval translate_statements : ctxt -> L.expr Utils.Pos.marked -> A.block
Sourceval translate_program : L.program -> A.program
OCaml

Innovation. Community. Security.