plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia.test_utils
Module Test_utils . Open
val from_Some : 'a option -> 'a
val from_Ok : ( 'a, 'b ) Stdlib.result -> 'a
val from_Ok_lwt : ( 'a, 'b ) Stdlib.result Lwt.t -> 'a Lwt.t
val to_file : file:string -> string -> unit

Create a file with the given string

val (^/) : string -> string -> string

Filename.concat

val with_time : ( unit -> 'a ) -> 'a * Mtime.span

Time the function in seconds

val with_time_lwt : ( unit -> 'a Lwt.t ) -> ('a * Mtime.span) Lwt.t

with_time for lwt

val failwithf : ( 'a, Format.formatter, unit, 'b ) Stdlib.format4 -> 'a

failwith with printf interface

val (@) : 'a list -> 'a list -> 'a list

Tail recursive list concat

val reachable_words : 'a -> int

Return the words occupied by the object. Only for debugging. This costs a lot

val reachable_mbs : 'a -> float
val min : 'a -> 'a -> 'a
val max : 'a -> 'a -> 'a
module Int : sig ... end