package ppx_meta_conv
PPX for converting between OCaml values and JSON, Sexp and camlon
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_meta_conv-4.1.0.tar.gz
md5=aad544375f23a3979aafe9defdebf4bd
sha512=991ad7433c8f2f51b298d4c99b35b873aab66c5d1da1beaa18f8f58f8e708e5a4299f0bb657af9d12bfcd3d645f48b3efe21e13b8c62e303604bd374e88f7d3a
doc/ppx_meta_conv.runtime/Meta_conv/Internal/index.html
Module Meta_conv.Internal
Source
You should not open this module, unless you are writing decoders/encoders for a new target data type.
Tools used by generated code
Source
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
Source
val field_assoc_optional_exn :
string ->
string ->
(string * 'target) list ->
('host, 'target) Types.Decoder.t_exn ->
('host option, 'target) Types.Decoder.t_exn
Source
val filter_fields :
string list ->
(string * 'target) list ->
(string * 'target) list * (string * 'target) list
Source
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
Misc functions
List.map + List.filter
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page