tezos-error-monad
Tezos: error monad
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library tezos-error-monad
type !'a t = 'a Seq.t
val is_empty : 'a t -> bool
val length : 'a t -> int
val iter : ( 'a -> unit ) -> 'a t -> unit
val fold_left : ( 'a -> 'b -> 'a ) -> 'a -> 'b t -> 'a
val iteri : ( int -> 'a -> unit ) -> 'a t -> unit
val fold_lefti : ( 'b -> int -> 'a -> 'b ) -> 'b -> 'a t -> 'b
val for_all : ( 'a -> bool ) -> 'a t -> bool
val exists : ( 'a -> bool ) -> 'a t -> bool
val find : ( 'a -> bool ) -> 'a t -> 'a option
val find_map : ( 'a -> 'b option ) -> 'a t -> 'b option
val empty : 'a t
val return : 'a -> 'a t
val init : int -> ( int -> 'a ) -> 'a t
val unfold : ( 'b -> ('a * 'b) option ) -> 'b -> 'a t
val repeat : 'a -> 'a t
val forever : ( unit -> 'a ) -> 'a t
val iterate : ( 'a -> 'a ) -> 'a -> 'a t
val of_dispenser : ( unit -> 'a option ) -> 'a t
val to_dispenser : 'a t -> unit -> 'a option
val ints : int -> int t
val first : 'a t -> 'a option
val iter_ep :
( 'a -> ( unit, 'error TzTrace.trace ) result Lwt.t ) ->
'a t ->
( unit, 'error TzTrace.trace ) result Lwt.t