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.1.0.tar.gz
md5=ec7dda88c5f7f371d2a35874cdae2a10
sha512=7cedccfbe5330992d5730441d6ba7b97446237ff5bb4579498a167f2319ec03e8fae50b7f80e3abe96833744b61ffd10719ce0c3e4c144893a4b7adc77e91b56

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