Module Nes

include module type of struct include NesPervasives end
val foi : int -> float
val fpf : Stdlib.Format.formatter -> ('a, Stdlib.Format.formatter, unit) Stdlib.format -> 'a
val spf : ('a, unit, string) Stdlib.format -> 'a
val aspf : ('a, Stdlib.Format.formatter, unit, string) Stdlib.format4 -> 'a
val kspf : (string -> 'a) -> ('b, unit, string, 'a) Stdlib.format4 -> 'b
val kaspf : (string -> 'a) -> ('b, Stdlib.Format.formatter, unit, 'a) Stdlib.format4 -> 'b
val ssf : string -> ('a, 'b, 'c, 'd) Stdlib.Scanf.scanner
type 'a seq = 'a Stdlib.Seq.t
val id : 'a -> 'a
val in_channel_to_string : Stdlib.in_channel -> string
val pmod : int -> int -> int
val pdiv : int -> int -> int
val first_non_zero : ?or_:int -> (unit -> int) list -> int
val (||>) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c
val (%) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
type ('a, 'b) either = ('a, 'b) Stdlib.Either.t =
  1. | Left of 'a
  2. | Right of 'b
val either_to_yojson : 'a 'b. ('a -> Yojson.Safe.t) -> ('b -> Yojson.Safe.t) -> ('a, 'b) either -> Yojson.Safe.t
val either_of_yojson : 'a 'b. (Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) -> (Yojson.Safe.t -> 'b Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> ('a, 'b) either Ppx_deriving_yojson_runtime.error_or
val _ : (Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) -> (Yojson.Safe.t -> 'b Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> ('a, 'b) either Ppx_deriving_yojson_runtime.error_or
val fixpoint : ?eq:('a -> 'a -> bool) -> ('a -> 'a) -> 'a -> 'a
val curry : (('a * 'b) -> 'c) -> 'a -> 'b -> 'c
val uncurry : ('a -> 'b -> 'c) -> ('a * 'b) -> 'c
val uid : unit -> string

A helper to generate unique identifiers that are somewhat readable. It is not cryptographically secure, but probably good enough.

val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
val const : 'a -> 'b -> 'a
val const2 : 'a -> 'b -> 'c -> 'a
val ok : 'a -> ('a, 'b) Stdlib.result
val error : 'a -> ('b, 'a) Stdlib.result
val some : 'a -> 'a option
val left : 'a -> ('a, 'b) Stdlib.Either.t
val right : 'a -> ('b, 'a) Stdlib.Either.t
val lwt : 'a -> 'a Lwt.t
val lwt_unit : unit Lwt.t
val lwt_none : 'a option Lwt.t
val lwt_some : 'a -> 'a option Lwt.t
val lwt_nil : 'a list Lwt.t
val lwt_empty : string Lwt.t
val lwt_true : bool Lwt.t
val lwt_false : bool Lwt.t
val lwt_ok : 'a -> ('a, 'b) Stdlib.result Lwt.t
val lwt_error : 'a -> ('b, 'a) Stdlib.result Lwt.t
val lwt_left : 'a -> ('a, 'b) Stdlib.Either.t Lwt.t
val lwt_right : 'a -> ('b, 'a) Stdlib.Either.t Lwt.t
val (<$>) : ('a -> 'b) -> 'a Lwt.t -> 'b Lwt.t
val (<%>) : ('a -> 'b) -> ('c -> 'a Lwt.t) -> 'c -> 'b Lwt.t
val (>>=) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val (=<<) : ('a -> 'b Lwt.t) -> 'a Lwt.t -> 'b Lwt.t
val (<=<) : ('a -> 'b Lwt.t) -> ('c -> 'a Lwt.t) -> 'c -> 'b Lwt.t
val failwithf : ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
val invalid_argf : ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
module Char = NesChar
module Filename = NesFilename
module Format = NesFormat
module Int = NesInt
module Int64 = NesInt64
module List = NesList
module Lwt = NesLwt
module Lwt_list = NesLwt_list
module Lwt_stream = NesLwt_stream
module Seq = NesSeq
module String = NesString
module Option = NesOption
module Result = NesResult
module Fun = NesFun
module Uri = NesUri
module Cache = NesCache
module Datetime = NesDatetime
module Depart = NesDepart
module PartialDate = NesPartialDate
module Slice = NesSlice
module Json = NesJson
module Void = NesVoid
module Password = NesPassword
module HashedSecret = NesHashedSecret
module NEList = NesNEList
module NEString = NesNEString
module Pair = NesPair
module Fresh = NesFresh
module Olwt = NesOlwt
module Rlwt = NesRlwt