package catala

  1. Overview
  2. Docs
Low-level language for tax code specification

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
md5=4a2c5495f30d8fc2e3bf977df6e602f9
sha512=8dcc404b6068b9dbd76982ade60d8fba1950fdd0a8a626db17429120483367dce1f51997e96d7b8ee5308f305c3bcbb897ef85336f25e9ef3681f4cb9237f56a

doc/catala.scopelang/Scopelang/Dependency/SDependencies/E/index.html

Module SDependencies.ESource

Edges have type E.t and are labeled with type E.label. src (resp. dst) returns the origin (resp. the destination) of a given edge.

Edges are ORDERED_TYPE.

Sourcetype t
Sourceval compare : t -> t -> int

Edges are directed.

Sourcetype vertex = vertex
Sourceval src : t -> vertex

Edge origin.

Sourceval dst : t -> vertex

Edge destination.

Edges are labeled.

Sourcetype label = Utils.Pos.t
Sourceval create : vertex -> label -> vertex -> t

create v1 l v2 creates an edge from v1 to v2 with label l

Sourceval label : t -> label

Get the label of an edge.

OCaml

Innovation. Community. Security.