package electrod

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

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-0.2.3.tbz
sha256=7371c45e28b84a1955d117ef2c798d545febb87c74f596b6efe24965e4b28f31
sha512=e579db68ac05e30b0985f7d90080a82697de18c12e818d48bd7029cea8844571423f08d5881accbf8a0cbeb7df7de9b5b95ff5fe813330a6c92448a0901cdfe7

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.