package catala

  1. Overview
  2. Docs
Compiler and library for the literate programming language for tax code specification

Install

Dune Dependency

Authors

Maintainers

Sources

0.8.0.tar.gz
md5=1408a1cce45c7d5990b981e83e7589c2
sha512=eb3b923aa1f743378b4a05e30f50be5d180dc862a716270d747a90e469017f42fa5fc41352f02fbbf59cd2560f91c4f1b32cf38d80085b105d9387b0aed2039d

doc/catala.shared_ast/Shared_ast/Var/index.html

Module Shared_ast.VarSource

Variables and their collections

This module provides types and helpers for Bindlib variables on the gexpr type

Sourcetype 'e t = ('a, 't) Shared_ast__.Definitions.naked_gexpr Bindlib.var constraint 'e = (('a Shared_ast__.Definitions.any, 't) Shared_ast__.Definitions.naked_gexpr, 't) Catala_utils.Marked.t
Sourcetype 'e vars = ('a, 't) Shared_ast__.Definitions.naked_gexpr Bindlib.mvar constraint 'e = (('a Shared_ast__.Definitions.any, 't) Shared_ast__.Definitions.naked_gexpr, 't) Catala_utils.Marked.t
Sourceval make : string -> 'e t
Sourceval compare : 'e t -> 'e t -> int
Sourceval eq : 'e t -> 'e t -> bool
Sourceval translate : 'e1 t -> 'e2 t

Needed when converting from one AST type to another. See the note of caution on Bindlib.copy_var.

Sourcetype 'e var = 'e t

Alias to allow referring to the type in the submodules

Sourcemodule Set : sig ... end

Wrapper over Set.S but with a type variable for the AST type parameters. Extend as needed

Sourcemodule Map : sig ... end

Wrapper over Map.S but with a type variable for the AST type parameters. Extend as needed

OCaml

Innovation. Community. Security.