package octez-protocol-010-PtGRANAD-libs

  1. Overview
  2. Docs
Octez protocol 010-PtGRANAD libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-protocol-010-PtGRANAD-libs.client/Tezos_client_010_PtGRANAD/Limit/index.html

Module Tezos_client_010_PtGRANAD.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.