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.9.0.tar.gz
md5=8f891209d18b6540df9c34b2d1a6a783
sha512=737770b87a057674bceefe77e8526720732552f51f424afcebcb6a628267eab522c4fd993caca1ae8ed7ace65a4a87e485af10c1676e51ca5939509a1b841ac2

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.