package gendarme
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=6ec9736fbf27fad0ec177abb9d7b4131
sha512=df687c949cb920efe40fabfc298a81752a15ed531efd410be80346a1d34227f33883bfd142d643f53ca37c7d169084014b67be4e6acab1b78a2bf981b1cbf775
doc/gendarme/Gendarme/index.html
Module GendarmeSource
This 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
Fallback safe marshaller
Fallback safe unmarshaller
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) tAlias for tuple5
('a, 'b) Hashtbl.t witness builder