package octez-proto-libs

  1. Overview
  2. Docs
type annot = string list
type ('a, 'b) node = ('a, 'b) Tezos_micheline.Micheline.node =
  1. | Int of 'l * Z.t
  2. | String of 'l * string
  3. | Bytes of 'l * bytes
  4. | Prim of 'l * 'p * ('l, 'p) node list * annot
  5. | Seq of 'l * ('l, 'p) node list
val dummy_location : canonical_location
val root : 'p canonical -> (canonical_location, 'p) node
val canonical_location_encoding : canonical_location Data_encoding.encoding
val canonical_encoding : variant:string -> 'l Data_encoding.encoding -> 'l canonical Data_encoding.encoding
val location : ('l, 'p) node -> 'l
val annotations : ('l, 'p) node -> string list
val strip_locations : (_, 'p) node -> 'p canonical
OCaml

Innovation. Community. Security.