Flexmasa.Internal_pervasives
Local “Pervasives” module for flexmasa.
See also "docs/tutorials/flexmasa.rst"
.
include module type of struct include Base end
val classify_float : float -> fpclass
val stdin : in_channel
val stdout : out_channel
val stderr : out_channel
val open_out : string -> out_channel
val open_out_bin : string -> out_channel
val open_out_gen : open_flag list -> int -> string -> out_channel
val flush : out_channel -> unit
val output_char : out_channel -> char -> unit
val output_string : out_channel -> string -> unit
val output_bytes : out_channel -> bytes -> unit
val output : out_channel -> bytes -> int -> int -> unit
val output_substring : out_channel -> string -> int -> int -> unit
val output_byte : out_channel -> int -> unit
val output_binary_int : out_channel -> int -> unit
val output_value : out_channel -> 'a -> unit
val seek_out : out_channel -> int -> unit
val pos_out : out_channel -> int
val out_channel_length : out_channel -> int
val close_out : out_channel -> unit
val close_out_noerr : out_channel -> unit
val set_binary_mode_out : out_channel -> bool -> unit
val open_in : string -> in_channel
val open_in_bin : string -> in_channel
val open_in_gen : open_flag list -> int -> string -> in_channel
val input_char : in_channel -> char
val input_line : in_channel -> string
val input : in_channel -> bytes -> int -> int -> int
val really_input : in_channel -> bytes -> int -> int -> unit
val really_input_string : in_channel -> int -> string
val input_byte : in_channel -> int
val input_binary_int : in_channel -> int
val input_value : in_channel -> 'a
val seek_in : in_channel -> int -> unit
val pos_in : in_channel -> int
val in_channel_length : in_channel -> int
val close_in : in_channel -> unit
val close_in_noerr : in_channel -> unit
val set_binary_mode_in : in_channel -> bool -> unit
val format_of_string :
('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 ->
('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val (^^) :
('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 ->
('f, 'b, 'c, 'e, 'g, 'h) Stdlib.format6 ->
('a, 'b, 'c, 'd, 'g, 'h) Stdlib.format6
val unsafe_really_input : in_channel -> bytes -> int -> int -> unit
val array_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a array
val sexp_of_array : ('a -> Sexplib0.Sexp.t) -> 'a array -> Sexplib0.Sexp.t
val array_sexp_grammar :
'a Sexplib0.Sexp_grammar.t ->
'a array Sexplib0.Sexp_grammar.t
val hash_fold_bool :
Base__.Ppx_hash_lib.Std.Hash.state ->
bool ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_bool : bool -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val bool_of_sexp : Sexplib0.Sexp.t -> bool
val sexp_of_bool : bool -> Sexplib0.Sexp.t
val bool_sexp_grammar : bool Sexplib0.Sexp_grammar.t
val hash_fold_char :
Base__.Ppx_hash_lib.Std.Hash.state ->
char ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_char : char -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val char_of_sexp : Sexplib0.Sexp.t -> char
val sexp_of_char : char -> Sexplib0.Sexp.t
val char_sexp_grammar : char Sexplib0.Sexp_grammar.t
val sexp_of_exn : exn -> Sexplib0.Sexp.t
val hash_fold_float :
Base__.Ppx_hash_lib.Std.Hash.state ->
float ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_float : float -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val float_of_sexp : Sexplib0.Sexp.t -> float
val sexp_of_float : float -> Sexplib0.Sexp.t
val float_sexp_grammar : float Sexplib0.Sexp_grammar.t
val hash_fold_int :
Base__.Ppx_hash_lib.Std.Hash.state ->
int ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_int : int -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val int_of_sexp : Sexplib0.Sexp.t -> int
val sexp_of_int : int -> Sexplib0.Sexp.t
val int_sexp_grammar : int Sexplib0.Sexp_grammar.t
val hash_fold_int32 :
Base__.Ppx_hash_lib.Std.Hash.state ->
int32 ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_int32 : int32 -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val int32_of_sexp : Sexplib0.Sexp.t -> int32
val sexp_of_int32 : int32 -> Sexplib0.Sexp.t
val int32_sexp_grammar : int32 Sexplib0.Sexp_grammar.t
val hash_fold_int64 :
Base__.Ppx_hash_lib.Std.Hash.state ->
int64 ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_int64 : int64 -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val int64_of_sexp : Sexplib0.Sexp.t -> int64
val sexp_of_int64 : int64 -> Sexplib0.Sexp.t
val int64_sexp_grammar : int64 Sexplib0.Sexp_grammar.t
val hash_fold_list :
(Base__.Ppx_hash_lib.Std.Hash.state ->
'a ->
Base__.Ppx_hash_lib.Std.Hash.state) ->
Base__.Ppx_hash_lib.Std.Hash.state ->
'a list ->
Base__.Ppx_hash_lib.Std.Hash.state
val list_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a list
val sexp_of_list : ('a -> Sexplib0.Sexp.t) -> 'a list -> Sexplib0.Sexp.t
val list_sexp_grammar :
'a Sexplib0.Sexp_grammar.t ->
'a list Sexplib0.Sexp_grammar.t
val hash_fold_nativeint :
Base__.Ppx_hash_lib.Std.Hash.state ->
nativeint ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_nativeint : nativeint -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val nativeint_of_sexp : Sexplib0.Sexp.t -> nativeint
val sexp_of_nativeint : nativeint -> Sexplib0.Sexp.t
val nativeint_sexp_grammar : nativeint Sexplib0.Sexp_grammar.t
val hash_fold_option :
(Base__.Ppx_hash_lib.Std.Hash.state ->
'a ->
Base__.Ppx_hash_lib.Std.Hash.state) ->
Base__.Ppx_hash_lib.Std.Hash.state ->
'a option ->
Base__.Ppx_hash_lib.Std.Hash.state
val option_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a option
val sexp_of_option : ('a -> Sexplib0.Sexp.t) -> 'a option -> Sexplib0.Sexp.t
val option_sexp_grammar :
'a Sexplib0.Sexp_grammar.t ->
'a option Sexplib0.Sexp_grammar.t
val ref_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a ref
val sexp_of_ref : ('a -> Sexplib0.Sexp.t) -> 'a ref -> Sexplib0.Sexp.t
val ref_sexp_grammar :
'a Sexplib0.Sexp_grammar.t ->
'a ref Sexplib0.Sexp_grammar.t
val hash_fold_string :
Base__.Ppx_hash_lib.Std.Hash.state ->
string ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_string : string -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val string_of_sexp : Sexplib0.Sexp.t -> string
val sexp_of_string : string -> Sexplib0.Sexp.t
val string_sexp_grammar : string Sexplib0.Sexp_grammar.t
val bytes_of_sexp : Sexplib0.Sexp.t -> bytes
val sexp_of_bytes : bytes -> Sexplib0.Sexp.t
val bytes_sexp_grammar : bytes Sexplib0.Sexp_grammar.t
val hash_fold_unit :
Base__.Ppx_hash_lib.Std.Hash.state ->
unit ->
Base__.Ppx_hash_lib.Std.Hash.state
val hash_unit : unit -> Base__.Ppx_hash_lib.Std.Hash.hash_value
val unit_of_sexp : Sexplib0.Sexp.t -> unit
val sexp_of_unit : unit -> Sexplib0.Sexp.t
val unit_sexp_grammar : unit Sexplib0.Sexp_grammar.t
val ignore : 'a -> unit
val (!) : 'a ref -> 'a
val ref : 'a -> 'a ref
val raise : exn -> 'a
val phys_equal : 'a -> 'a -> bool
module EF : sig ... end
Wrapper around the EasyFormat
library to use for console display.
module Dbg : sig ... end
Debug-display module (non-cooperative output to stderr
).
module Date : sig ... end
module More_fmt : sig ... end
module Attached_result : sig ... end
A “decorated result type” based on polymorphic variants
module Asynchronous_result : sig ... end
A wrapper around ('ok, 'a Error.t) result Lwt.t
.
include module type of struct include Asynchronous_result.Std end
val (>>=) :
('a, 'b) Asynchronous_result.t ->
('a -> ('c, 'b) Attached_result.t Lwt.t) ->
('c, 'b) Asynchronous_result.t
val return : 'a -> ('a, 'b) Asynchronous_result.t
val fail :
?attach:(string * Attached_result.content) list ->
'a ->
('b, 'a) Asynchronous_result.t
module List_sequential = Asynchronous_result.List_sequential
module Loop = Asynchronous_result.Loop
module System_error : sig ... end
module Process_result : sig ... end
A wrapper around a structural type describing the result of external processes.
module Base_state : sig ... end
The state within this library is packed into an open object (structural) type, this module just defines the application_name
method.
module Manpage_builder : sig ... end
module System : sig ... end
Some Lwt_unix
functions.
module Jqo : sig ... end
WIP jq
-like manipulation in pure OCaml.