package tezos-protocol-013-PtJakart
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-protocol-013-PtJakart.environment/Tezos_protocol_environment_013_PtJakart/Error_monad/index.html
Module Tezos_protocol_environment_013_PtJakart.Error_monad
Source
val error_encoding : error Data_encoding.t
val pp : Format.formatter -> error -> unit
val register_error_kind :
error_category ->
id:string ->
title:string ->
description:string ->
?pp:(Format.formatter -> 'err -> unit) ->
'err Data_encoding.t ->
(error -> 'err option) ->
('err -> error) ->
unit
val json_of_error : error -> Data_encoding.json
val error_of_json : Data_encoding.json -> error
type error_info = {
category : error_category;
id : string;
title : string;
description : string;
schema : Data_encoding.json_schema;
}
val pp_info : Format.formatter -> error_info -> unit
val get_registered_errors : unit -> error_info list
type !'a tzresult = ('a, error trace) Pervasives.result
val trace_encoding : error trace Data_encoding.t
val result_encoding : 'a Data_encoding.t -> 'a tzresult Data_encoding.t
val ok : 'a -> ('a, 'trace) Pervasives.result
val return : 'a -> ('a, 'trace) Pervasives.result Lwt.t
val return_unit : (unit, 'trace) Pervasives.result Lwt.t
val return_none : ('a option, 'trace) Pervasives.result Lwt.t
val return_some : 'a -> ('a option, 'trace) Pervasives.result Lwt.t
val return_nil : ('a list, 'trace) Pervasives.result Lwt.t
val return_true : (bool, 'trace) Pervasives.result Lwt.t
val return_false : (bool, 'trace) Pervasives.result Lwt.t
val (>>?) :
('a, 'trace) Pervasives.result ->
('a -> ('b, 'trace) Pervasives.result) ->
('b, 'trace) Pervasives.result
val (>|?) :
('a, 'trace) Pervasives.result ->
('a -> 'b) ->
('b, 'trace) Pervasives.result
val (>>=?) :
('a, 'trace) Pervasives.result Lwt.t ->
('a -> ('b, 'trace) Pervasives.result Lwt.t) ->
('b, 'trace) Pervasives.result Lwt.t
val (>|=?) :
('a, 'trace) Pervasives.result Lwt.t ->
('a -> 'b) ->
('b, 'trace) Pervasives.result Lwt.t
val (>>?=) :
('a, 'trace) Pervasives.result ->
('a -> ('b, 'trace) Pervasives.result Lwt.t) ->
('b, 'trace) Pervasives.result Lwt.t
val (>|?=) :
('a, 'trace) Pervasives.result ->
('a -> 'b Lwt.t) ->
('b, 'trace) Pervasives.result Lwt.t
val record_trace :
'err ->
('a, 'err trace) Pervasives.result ->
('a, 'err trace) Pervasives.result
val trace :
'err ->
('b, 'err trace) Pervasives.result Lwt.t ->
('b, 'err trace) Pervasives.result Lwt.t
val record_trace_eval :
(unit -> 'err) ->
('a, 'err trace) Pervasives.result ->
('a, 'err trace) Pervasives.result
val trace_eval :
(unit -> 'err) ->
('b, 'err trace) Pervasives.result Lwt.t ->
('b, 'err trace) Pervasives.result Lwt.t
val error_unless : bool -> 'err -> (unit, 'err trace) Pervasives.result
val error_when : bool -> 'err -> (unit, 'err trace) Pervasives.result
val fail_unless : bool -> 'err -> (unit, 'err trace) Pervasives.result Lwt.t
val fail_when : bool -> 'err -> (unit, 'err trace) Pervasives.result Lwt.t
val unless :
bool ->
(unit -> (unit, 'trace) Pervasives.result Lwt.t) ->
(unit, 'trace) Pervasives.result Lwt.t
val when_ :
bool ->
(unit -> (unit, 'trace) Pervasives.result Lwt.t) ->
(unit, 'trace) Pervasives.result Lwt.t
Source
val dont_wait :
(exn -> unit) ->
('trace -> unit) ->
(unit -> (unit, 'trace) Pervasives.result Lwt.t) ->
unit
Source
val join_e :
(unit, 'err trace) Pervasives.result list ->
(unit, 'err trace) Pervasives.result
Source
val all_e :
('a, 'err trace) Pervasives.result list ->
('a list, 'err trace) Pervasives.result
Source
val both_e :
('a, 'err trace) Pervasives.result ->
('b, 'err trace) Pervasives.result ->
('a * 'b, 'err trace) Pervasives.result
module Lwt_syntax : sig ... end
module Result_syntax : sig ... end
module Lwt_result_syntax : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>