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.10.0.tar.gz
md5=5abd76e8c51a47670645e91b21b57fc5
sha512=9c6fbe50c0b5a60566e877eeddadca0a339e2ce35deb5c1beceb03bc40eb6af2d519313e71859d88645b53fad591d4fa5288c633b185c9d765603da0f5b7dd7b

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 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
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
OCaml

Innovation. Community. Security.