package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-shell-libs.client-base/Tezos_client_base/Client_aliases/index.html
Module Tezos_client_base.Client_aliases
Source
Source
val parse_alternatives :
(string * (string -> 'a Tezos_base.TzPervasives.tzresult Lwt.t)) list ->
string ->
'a Tezos_base.TzPervasives.tzresult Lwt.t
Allows to parse an argument taking one of many forms. Accepts a list of alternative parsers and an input string. Each alternative consists of a string being the name of the format and a function for parsing the input.
If the input string has form 'format:argument', where 'format' appears among alternative names, then the parser associated with that name is run against the argument and its result is returned. Otherwise, each parser is tried against the whole input in turn. If any of them succeeds, no further parsers are tried and the successful result is returned. If none succeeds, their error traces are combined into an error which is returned.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>