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.5.0.tar.gz
md5=41b0317af37925b16ae7aedfddbcc8b4
sha512=f02c4e4c7d8ca92c4c2100d1dfc31c56218a8fae3760135335c9cdd10d9edbeb6eb5e407b430c095f579ce2226c3fe4c314788af5aa35c37d04e4dee5f459cb8

doc/catala.desugared/Desugared/Dependency/ScopeDependencies/E/index.html

Module ScopeDependencies.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 = Edge.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.