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.6.0.tar.gz
md5=b22e238d5d5c8452067109e9c7c0f427
sha512=ccc8c557c67c2f9d1bed4b957b2367f0f6afc0ef9b8b83237cf2a2912b3e8829b7e8af78ea7fe00b20ecf28b436ad04b591e5fff4f82fd08725d40a18c9924d0

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.