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/Map/index.html

Module Var.MapSource

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

Sourcetype ('e, 'x) t
Sourceval empty : ('e, 'x) t
Sourceval singleton : 'e var -> 'x -> ('e, 'x) t
Sourceval add : 'e var -> 'x -> ('e, 'x) t -> ('e, 'x) t
Sourceval update : 'e var -> ('x option -> 'x option) -> ('e, 'x) t -> ('e, 'x) t
Sourceval find : 'e var -> ('e, 'x) t -> 'x
Sourceval find_opt : 'e var -> ('e, 'x) t -> 'x option
Sourceval bindings : ('e, 'x) t -> ('e var * 'x) list
Sourceval mem : 'e var -> ('e, 'x) t -> bool
Sourceval union : ('e var -> 'x -> 'x -> 'x option) -> ('e, 'x) t -> ('e, 'x) t -> ('e, 'x) t
Sourceval fold : ('e var -> 'x -> 'acc -> 'acc) -> ('e, 'x) t -> 'acc -> 'acc
OCaml

Innovation. Community. Security.