package electrod

  1. Overview
  2. Docs
Formal analysis for the Electrod formal pivot language

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-0.3.2.tbz
sha256=c58502de17f5b8d739963b5b5d7c761883305bc2b6464fc37769aae4bb31a28c
sha512=bc15032cbda06b0eb64d55cc7800d6c992c0823bb86609ddc5e56744fd0c76ea25b4f4ad7cafdee6fcaa2f109e48ca99f4270919f9a2ea4c7bf53f30b0ee3677

doc/electrod.libelectrod/Libelectrod/Transfo/index.html

Module Libelectrod.TransfoSource

Specification of transformations.

Sourcetype ('src, 'dst) t

A transformation conforms to the following signature.

Sourceval make : string -> ('src -> 'dst) -> ('src, 'dst) t

Constructor. The first parameter is the name: it must be unique in the whole program.

Sourceval name : ('src, 'dst) t -> string

Retrieves the name...

Sourceval run : ('src, 'dst) t -> 'src -> 'dst

Runs a transformation

Sourceval fby : ('a, 'b) t -> ('b, 'c) t -> ('a, 'c) t

Returns the composition (left-to-right) of two transformations.

Sourceval identity : ('a, 'a) t

Identity transformation

Sourcetype ('src, 'dst) tlist

A list of transformations with given source and target type.

Sourceval tlist : ('src, 'dst) t list -> ('src, 'dst) tlist

Creates a list of transformations with a default one .

Sourceval get_exn : ('src, 'dst) tlist -> string -> ('src, 'dst) t

Retrieves a transformation. May raise Not_found.

OCaml

Innovation. Community. Security.