package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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, Utils.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
  • deprecated Use monomorphic min, or use Stdlib.min
val max : 'a -> 'a -> 'a
  • deprecated Use monomorphic max, or use Stdlib.max
module Int : sig ... end
OCaml

Innovation. Community. Security.