package ppx_jsonaf_conv

  1. Overview
  2. Docs
[@@deriving] plugin to generate Jsonaf conversion functions

Install

Dune Dependency

Authors

Maintainers

Sources

v0.15.1.tar.gz
sha256=51ca0b2494405d00215750b6e707a0f73249484265ceaad003e806a64cf56efe

doc/src/ppx_jsonaf_conv.runtime-lib/ppx_jsonaf_conv_lib.ml.html

Source file ppx_jsonaf_conv_lib.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Jsonaf_conv_error = Jsonaf_conv_error
module Jsonaf_conv = Jsonaf_kernel.Conv
module Jsonafable = Jsonaf_kernel.Jsonafable
module Jsonaf_kernel = Jsonaf_kernel

module Option = struct
  type 'a t = 'a option =
    | None
    | Some of 'a
end

external ignore : _ -> unit = "%ignore"
external poly_equal : 'a -> 'a -> bool = "%equal"

let ( ! ) : 'a ref -> 'a = fun x -> !x
OCaml

Innovation. Community. Security.