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/Coder/Make/index.html
Module Coder.Make
Source
If you want to write an instance of meta_conv implementation, you define the following primitive encoders and decoders at least.
Parameters
Signature
Exception for decoding error. We must declare here and not in a more general place, since the error contains target
, and we cannot have polymorphic exceptions in OCaml.
Auto generated decoders from Deconstr
Result monad decoder to decoder with runtime exception Exception
.
Any exception (including Exception
) reported from decoder_exn
is reported as Error
If the argument is Error e
, raises Exception e
.
Format the error, without its trace
Format the error, with its full trace
Format host data using its encoder
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page