package ppx_meta_conv
Ppx based type_conv for various tree data formats
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_meta_conv-4.0.1.tar.bz2
sha256=0e9945064e1057e9dccf586434a399fba4251812d14fc51050b2cc5e76a47c2b
md5=536ea6b606a1217feccffac4609b5ece
doc/ppx_meta_conv.runtime/Meta_conv/Internal/index.html
Module Meta_conv.Internal
You should not open this module, unless you are writing decoders/encoders for a new target data type.
Tools used by generated code
val field_assoc_exn :
string ->
string ->
(string * 'target) list ->
('target Error.t -> 'host) ->
('host, 'target) Types.Decoder.t_exn ->
('host, 'target) Types.Decoder.t_exn
val field_assoc_optional_exn :
string ->
string ->
(string * 'target) list ->
('host, 'target) Types.Decoder.t_exn ->
('host option, 'target) Types.Decoder.t_exn
val embeded_decoding_helper :
(string * 'target) list ->
'target ->
('host, 'target Error.t) Result.t ->
('host * (string * 'target) list, 'target Error.t) Result.t
helper function for embded record field
Error decoders
They are decoders but just fail
val tuple_arity_error : int -> int -> ('host, 'target) Types.Decoder.t
val variant_arity_error :
string ->
string ->
int ->
int ->
('host, 'target) Types.Decoder.t
val variant_unknown_tag_error :
string ->
string ->
('host, 'target) Types.Decoder.t
val primitive_decoding_failure : string -> ('host, 'target) Types.Decoder.t
val sub_decoders_failed_for_one_of : string -> ('host, 'target) Types.Decoder.t
Misc functions
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page