package ppx_jsonaf_conv

  1. Overview
  2. Docs

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.