package catala

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=42196e9a9c5e12839b38cb3da935f10c
sha512=ede2d8c17dcb936c1c8c596f1453bf89370a2f824a190efe74e438d7d7f7f83875c1ecbc18219c6a8a3e98b3ab4da1c3a6cc4e534687dbc90f3dca8230f43f7b

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, 'a, 't) Shared_ast__.Definitions.base_gexpr Bindlib.var constraint 'e = (('a, 'a, 't) Shared_ast__.Definitions.base_gexpr, 't Shared_ast__.Definitions.mark) Catala_utils.Mark.ed
Sourcetype 'e vars = ('a, 'a, 't) Shared_ast__.Definitions.base_gexpr Bindlib.mvar constraint 'e = (('a, 'a, 't) Shared_ast__.Definitions.base_gexpr, 't Shared_ast__.Definitions.mark) Catala_utils.Mark.ed
Sourceval make : string -> 'e t
Sourceval compare : 'e t -> 'e t -> int
Sourceval equal : 'e t -> 'e t -> bool
Sourceval hash : 'e t -> int
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