package ppx_meta_conv
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Ppx based type_conv for various tree data formats
Install
dune-project
Dependency
Authors
Maintainers
Sources
ppx_meta_conv-4.0.1.tar.bz2
sha256=0e9945064e1057e9dccf586434a399fba4251812d14fc51050b2cc5e76a47c2b
md5=536ea6b606a1217feccffac4609b5ece
doc/ppx_meta_conv.runtime/Meta_conv/Coder/Make/index.html
Module Coder.Make
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.
type 'a encoder = ('a, target) Types.Encoder.ttype 'a decoder = ('a, target) Types.Decoder.ttype 'a decoder_exn = ('a, target) Types.Decoder.t_exnmodule DeconstrDecoder : sig ... endAuto generated decoders from Deconstr
val exn : 'a decoder -> 'a decoder_exnResult monad decoder to decoder with runtime exception Exception.
val result : 'a decoder_exn -> 'a decoderAny exception (including Exception) reported from decoder_exn is reported as Error
val format_error : Format.formatter -> target Error.t -> unitFormat the error, without its trace
val format_full_error : Format.formatter -> target Error.t -> unitFormat the error, with its full trace
val format_with : ('host -> target) -> Format.formatter -> 'host -> unitFormat host data using its encoder
module Helper : sig ... end sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page