Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Gendarme
SourceThis module provides the Gendarme
library
Generic failover exception when handling unhandled type extensions
Exception raised when unmarshalling unknown record fields or variant cases
Exception raised when unmarshalling data to the wrong type
Exception raised when unpacking values from a different encoder. This should not be raised under normal circumstances.
Exception raised when getting the default value of a variant type. This usually happens when unmarshalling a record type which does not provide a default value for variants. Variant types require specifying a default value with [@default]
when used in records.
Extensible GADT wrapping OCaml types
Extensible type to register new encoding targets
Extensible type to register new encoders
type 'a o_lens = {
o_fds : (encoder * string) list;
o_get : 'a -> (encoder * string) -> target;
o_put : 'a -> (encoder * string) -> target -> 'a;
o_def : 'a;
}
Record marshalling lens type
Variant marshalling lens type
type t +=
| Int : int t
| Float : float t
| String : string t
| Bool : bool t
| List : 'a ty -> 'a list t
| Option : 'a ty -> 'a option t
| Empty_list : string list t
| Tuple2 : 'a ty * 'b ty -> ('a * 'b) t
| Tuple3 : 'a ty * 'b ty * 'c ty -> ('a * 'b * 'c) t
| Tuple4 : 'a ty * 'b ty * 'c ty * 'd ty -> ('a * 'b * 'c * 'd) t
| Tuple5 : 'a ty * 'b ty * 'c ty * 'd ty * 'e ty -> ('a * 'b * 'c * 'd * 'e) t
| Object : 'a o_lens -> 'a t
| Alt : 'a a_lens -> 'a t
| Proxy : ('a, 'b) p_lens -> 'a t
| Map : 'a ty * 'b ty -> ('a * 'b) list t
Extension of t
to usual OCaml types
Helper function to simplify marshalling records
Helper function to simplify unmarshalling records
('a * 'b * 'c)
witness builder
('a * 'b * 'c * 'd)
witness builder
Alias for tuple4
('a * 'b * 'c * 'd * 'e)
witness builder
val quintuple :
'a ty ->
'b ty ->
'c ty ->
'd ty ->
'e ty ->
unit ->
('a * 'b * 'c * 'd * 'e) t
Alias for tuple5
('a, 'b) Hashtbl.t
witness builder