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-alpha.tar.gz
md5=2615968670ac21b1d00386a9b04b3843
sha512=eff292fdd75012f26ce7b17020f5a8374eef37cd4dd6ba60338dfbe89fbcad3443d1b409e44c182b740da9f58dff7e76dcb8ddefe47f9b2b160666d1c6930143

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
Sourcetype k0
Sourceexception Not_found of k0
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 remove : 'e var -> ('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 cardinal : ('e, 'x) t -> int
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
Sourceval keys : ('e, 'x) t -> 'e var list
Sourceval values : ('e, 'x) t -> 'x list
Sourceval format_keys : ?pp_sep:(Format.formatter -> unit -> unit) -> Format.formatter -> ('e, 'x) t -> unit