package octez-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
doc/octez-libs.micheline/Tezos_micheline/Micheline/index.html
Module Tezos_micheline.Micheline
Source
The abstract syntax tree of Micheline expressions. The first parameter is used to contain locations, but can also embed custom data. The second parameter is the type of primitive names.
Expression form using canonical integer numbering as locations. The root has number zero, and each node adds one in the order of infix traversal. To be used when locations are not important, or when one wants to attach properties to nodes in an expression without rewriting it (using an indirection table with canonical locations as keys).
Canonical integer locations that appear inside canonical
expressions.
A location that won't exist in any well-formed canonical value
Compute the canonical form of an expression. Drops the concrete locations completely.
Give the root node of an expression in canonical form.
Compute the canonical form of an expression. Saves the concrete locations in an association list.
Transforms an expression in canonical form into a polymorphic one. Takes a mapping function to inject the concrete locations.