package octez-protocol-011-PtHangz2-libs

  1. Overview
  2. Docs
Octez protocol 011-PtHangz2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/octez-protocol-011-PtHangz2-libs.client/Tezos_client_011_PtHangz2/Limit/index.html

Module Tezos_client_011_PtHangz2.LimitSource

This helper module allows to handle partially specified limits during the injection process.

Sourcetype 'a t

A value of type 'a t is either unknown of known.

Sourceval unknown : 'a t
Sourceval known : 'a -> 'a t
Sourceval of_option : 'a option -> 'a t
Sourceval is_unknown : 'a t -> bool
Sourceval join : where:string -> ('a -> 'a -> bool) -> 'a t -> 'a t -> 'a t Tezos_base.TzPervasives.tzresult

join ~where eq x y computes the order-theoretic union of x and y. If both x and y are not Unknown, the function fails iff their contents are not equal according to eq.

Sourceval fold : unknown:'a -> known:('b -> 'a) -> 'b t -> 'a
Sourceval get : when_unknown:string -> 'a t -> 'a Tezos_base.TzPervasives.tzresult
Sourceval value : when_unknown:'a -> 'a t -> 'a
OCaml

Innovation. Community. Security.