package catala

All checked builds pass
  1. Overview
  2. Docs
Compiler and library for the literate programming language for tax code specification

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.3.2.tar.gz
md5=4f8ba5a733ebdb5c115241162f618d6e
sha512=a091173c7f0a7ef3842849a72250e4fb2da65776f8b7423f5d2473234aa1e842eee63c424640622e89fd1059a6a442831d339bdb8406fb1b362efc0073058637

doc/catala.catala_utils/Catala_utils/Graphs/JSON_Graph/argument-2-G/E/index.html

Module G.E

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.

type t
val compare : t -> t -> int

Edges are directed.

type vertex = vertex
val src : t -> vertex

Edge origin.

val dst : t -> vertex

Edge destination.

Edges are labeled.

type label
val create : vertex -> label -> vertex -> t

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

val label : t -> label

Get the label of an edge.