From 3f6367f8b9cf4d4de92c4879567d46bdfddd6f93 Mon Sep 17 00:00:00 2001 From: Nathan Rebours Date: Fri, 4 Oct 2024 14:53:08 +0200 Subject: [PATCH] Update ppx_deriving doc to 6.0.3. --- index.html | 2 +- odoc.support/odoc.css | 2 +- ppx_deriving/Ppx_deriving/Arg/index.html | 2 +- .../Ppx_deriving/Ast_convenience/Label/index.html | 2 +- ppx_deriving/Ppx_deriving/Ast_convenience/index.html | 2 +- ppx_deriving/Ppx_deriving/index.html | 2 +- ppx_deriving/Ppx_deriving_create/index.html | 8 ++++---- ppx_deriving/Ppx_deriving_enum/index.html | 2 +- ppx_deriving/Ppx_deriving_eq/index.html | 2 +- ppx_deriving/Ppx_deriving_fold/index.html | 2 +- ppx_deriving/Ppx_deriving_iter/index.html | 2 +- ppx_deriving/Ppx_deriving_make/index.html | 10 +++++----- ppx_deriving/Ppx_deriving_map/index.html | 2 +- ppx_deriving/Ppx_deriving_ord/index.html | 2 +- ppx_deriving/Ppx_deriving_runtime/Result/index.html | 2 +- ppx_deriving/Ppx_deriving_runtime/index.html | 4 ++-- ppx_deriving/Ppx_deriving_show/index.html | 2 +- ppx_deriving/Ppx_deriving_std/index.html | 2 +- ppx_deriving/index.html | 2 +- 19 files changed, 27 insertions(+), 27 deletions(-) diff --git a/index.html b/index.html index 3a650b2..b62bcc5 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@

OCaml package documentation

    -
  1. ppx_deriving 6.0.2
  2. +
  3. ppx_deriving 6.0.3
diff --git a/odoc.support/odoc.css b/odoc.support/odoc.css index 71148de..15240b5 100644 --- a/odoc.support/odoc.css +++ b/odoc.support/odoc.css @@ -1,7 +1,7 @@ @charset "UTF-8"; /* Copyright (c) 2016 The odoc contributors. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - odoc 2.4.2 */ + odoc 2.4.3 */ /* Fonts */ /* noticia-text-regular - latin */ diff --git a/ppx_deriving/Ppx_deriving/Arg/index.html b/ppx_deriving/Ppx_deriving/Arg/index.html index 55c63eb..38b0338 100644 --- a/ppx_deriving/Ppx_deriving/Arg/index.html +++ b/ppx_deriving/Ppx_deriving/Arg/index.html @@ -1,5 +1,5 @@ -Arg (ppx_deriving.Ppx_deriving.Arg)

Module Ppx_deriving.Arg

Arg contains convenience functions that extract constants from AST fragments, to be used when parsing options or [\@attributes] attached to types, fields or constructors.

The ~name argument is used in error messages and should receive the name of the deriving plugin, e.g. "show".

type 'a conv = Ppxlib.expression -> ('a, string) Stdlib.result

A type of conversion functions.

A conversion function of type 'a conv converts a raw expression into an argument of type 'a. Or returns Error "error" if conversion fails.

val expr : Ppxlib.expression conv

expr returns the input expression as-is.

val bool : bool conv

bool expr extracts a boolean constant from expr, or returns Error "boolean" if expr does not contain a boolean literal.

val int : int conv

int expr extracts an integer constant from expr, or returns Error "integer" if expr does not contain an integer literal.

val string : string conv

string expr extracts a string constant from expr, or returns Error "string" if expr does not contain a string literal.

val char : char conv

char expr extracts a char constant from expr, or returns Error "char" if expr does not contain a char literal.

val enum : string list -> string conv

enum values expr extracts a polymorphic variant constant from expr, or returns Error "one of: `a, `b, ..." if expr does not contain a polymorphic variant constructor included in values.

val list : 'a conv -> 'a list conv

list f expr extracts a list constant from expr and maps every element through f, or returns Error "list:..." where ... is the error returned by f, or returns Error "list" if expr does not contain a list.

val get_attr : +Arg (ppx_deriving.Ppx_deriving.Arg)

Module Ppx_deriving.Arg

Arg contains convenience functions that extract constants from AST fragments, to be used when parsing options or [\@attributes] attached to types, fields or constructors.

The ~name argument is used in error messages and should receive the name of the deriving plugin, e.g. "show".

type 'a conv = Ppxlib.expression -> ('a, string) Stdlib.result

A type of conversion functions.

A conversion function of type 'a conv converts a raw expression into an argument of type 'a. Or returns Error "error" if conversion fails.

val expr : Ppxlib.expression conv

expr returns the input expression as-is.

val bool : bool conv

bool expr extracts a boolean constant from expr, or returns Error "boolean" if expr does not contain a boolean literal.

val int : int conv

int expr extracts an integer constant from expr, or returns Error "integer" if expr does not contain an integer literal.

val string : string conv

string expr extracts a string constant from expr, or returns Error "string" if expr does not contain a string literal.

val char : char conv

char expr extracts a char constant from expr, or returns Error "char" if expr does not contain a char literal.

val enum : string list -> string conv

enum values expr extracts a polymorphic variant constant from expr, or returns Error "one of: `a, `b, ..." if expr does not contain a polymorphic variant constructor included in values.

val list : 'a conv -> 'a list conv

list f expr extracts a list constant from expr and maps every element through f, or returns Error "list:..." where ... is the error returned by f, or returns Error "list" if expr does not contain a list.

val get_attr : deriver:string -> 'a conv -> Ppxlib.attribute option -> diff --git a/ppx_deriving/Ppx_deriving/Ast_convenience/Label/index.html b/ppx_deriving/Ppx_deriving/Ast_convenience/Label/index.html index e9a64dd..35f295e 100644 --- a/ppx_deriving/Ppx_deriving/Ast_convenience/Label/index.html +++ b/ppx_deriving/Ppx_deriving/Ast_convenience/Label/index.html @@ -1,2 +1,2 @@ -Label (ppx_deriving.Ppx_deriving.Ast_convenience.Label)

Module Ast_convenience.Label

val nolabel : Ppxlib.arg_label
val labelled : string -> Ppxlib.arg_label
val optional : string -> Ppxlib.arg_label
+Label (ppx_deriving.Ppx_deriving.Ast_convenience.Label)

Module Ast_convenience.Label

val nolabel : Ppxlib.arg_label
val labelled : string -> Ppxlib.arg_label
val optional : string -> Ppxlib.arg_label
diff --git a/ppx_deriving/Ppx_deriving/Ast_convenience/index.html b/ppx_deriving/Ppx_deriving/Ast_convenience/index.html index 511095b..b65ee7d 100644 --- a/ppx_deriving/Ppx_deriving/Ast_convenience/index.html +++ b/ppx_deriving/Ppx_deriving/Ast_convenience/index.html @@ -1,5 +1,5 @@ -Ast_convenience (ppx_deriving.Ppx_deriving.Ast_convenience)

Module Ppx_deriving.Ast_convenience

val mkloc : 'a -> Ppxlib.Location.t -> 'a Ppxlib.loc
val mknoloc : 'a -> 'a Ppxlib.loc
val unit : unit -> Ppxlib.expression
val punit : unit -> Ppxlib.pattern
val int : int -> Ppxlib.expression
val pint : int -> Ppxlib.pattern
val str : string -> Ppxlib.expression
val evar : string -> Ppxlib.expression
val pvar : string -> Ppxlib.pattern
val app : Ppxlib.expression -> Ppxlib.expression list -> Ppxlib.expression
val constr : string -> Ppxlib.expression list -> Ppxlib.expression
val pconstr : string -> Ppxlib.pattern list -> Ppxlib.pattern
val tconstr : string -> Ppxlib.core_type list -> Ppxlib.core_type
val record : (string * Ppxlib.expression) list -> Ppxlib.expression
val precord : +Ast_convenience (ppx_deriving.Ppx_deriving.Ast_convenience)

Module Ppx_deriving.Ast_convenience

val mkloc : 'a -> Ppxlib.Location.t -> 'a Ppxlib.loc
val mknoloc : 'a -> 'a Ppxlib.loc
val unit : unit -> Ppxlib.expression
val punit : unit -> Ppxlib.pattern
val int : int -> Ppxlib.expression
val pint : int -> Ppxlib.pattern
val str : string -> Ppxlib.expression
val evar : string -> Ppxlib.expression
val pvar : string -> Ppxlib.pattern
val app : Ppxlib.expression -> Ppxlib.expression list -> Ppxlib.expression
val constr : string -> Ppxlib.expression list -> Ppxlib.expression
val pconstr : string -> Ppxlib.pattern list -> Ppxlib.pattern
val tconstr : string -> Ppxlib.core_type list -> Ppxlib.core_type
val record : (string * Ppxlib.expression) list -> Ppxlib.expression
val precord : closed:Ppxlib.closed_flag -> (string * Ppxlib.pattern) list -> Ppxlib.pattern
val tuple : Ppxlib.expression list -> Ppxlib.expression
val ptuple : Ppxlib.pattern list -> Ppxlib.pattern
val has_attr : string -> Ppxlib.attributes -> bool
val find_attr : string -> Ppxlib.attributes -> Ppxlib.payload option
module Label : sig ... end
diff --git a/ppx_deriving/Ppx_deriving/index.html b/ppx_deriving/Ppx_deriving/index.html index f81ec66..29eec42 100644 --- a/ppx_deriving/Ppx_deriving/index.html +++ b/ppx_deriving/Ppx_deriving/index.html @@ -1,5 +1,5 @@ -Ppx_deriving (ppx_deriving.Ppx_deriving)

Module Ppx_deriving

Public API of ppx_deriving executable.

type tyvar = string Ppxlib.Location.loc

Registration

type deriver = {
  1. name : string;
  2. core_type : (Ppxlib.core_type -> Ppxlib.expression) option;
  3. type_decl_str : options:(string * Ppxlib.expression) list -> +Ppx_deriving (ppx_deriving.Ppx_deriving)

    Module Ppx_deriving

    Public API of ppx_deriving executable.

    type tyvar = string Ppxlib.Location.loc

    Registration

    type deriver = {
    1. name : string;
    2. core_type : (Ppxlib.core_type -> Ppxlib.expression) option;
    3. type_decl_str : options:(string * Ppxlib.expression) list -> path:string list -> Ppxlib.type_declaration list -> Ppxlib.structure;
    4. type_ext_str : options:(string * Ppxlib.expression) list -> diff --git a/ppx_deriving/Ppx_deriving_create/index.html b/ppx_deriving/Ppx_deriving_create/index.html index 64e68a3..9ed0dc3 100644 --- a/ppx_deriving/Ppx_deriving_create/index.html +++ b/ppx_deriving/Ppx_deriving_create/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_create (ppx_deriving.Ppx_deriving_create)

      Module Ppx_deriving_create

      val deriver : string
      val raise_errorf : +Ppx_deriving_create (ppx_deriving.Ppx_deriving_create)

      Module Ppx_deriving_create

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> @@ -8,14 +8,14 @@ Ppxlib.Attribute.t * (Ppxlib__.Import.core_type, Ppxlib__.Import.expression) Ppxlib.Attribute.t
      val attr_split : 'a Ppxlib.Attribute.Context.t -> 'a Ppxlib.Attribute.flag
      val ct_attr_split : Ppxlib__.Import.core_type Ppxlib.Attribute.flag
      val label_attr_split : Ppxlib__.Import.label_declaration Ppxlib.Attribute.flag
      val attr_main : 'a Ppxlib.Attribute.Context.t -> 'a Ppxlib.Attribute.flag
      val ct_attr_main : Ppxlib__.Import.core_type Ppxlib.Attribute.flag
      val label_attr_main : Ppxlib__.Import.label_declaration Ppxlib.Attribute.flag
      val get_label_attribute : ((Ppxlib.Parsetree.label_declaration, 'a) Ppxlib.Attribute.t - * (Ppxlib.Parsetree.core_type, 'b) Ppxlib.Attribute.t) -> + * (Ppxlib.Parsetree.core_type, 'a) Ppxlib.Attribute.t) -> Ppxlib.Parsetree.label_declaration -> - 'c option
      val find_main : + 'a option
      val find_main : Ppxlib.Parsetree.label_declaration list -> Ppxlib.Parsetree.label_declaration option * Ppxlib.Parsetree.label_declaration list
      val str_of_type : Ppxlib.Parsetree.type_declaration -> - Astlib.Ast_500.Parsetree.value_binding list
      val wrap_predef_option : 'a -> 'b
      val sig_of_type : + Astlib.Ast_500.Parsetree.value_binding list
      val wrap_predef_option : 'a -> 'a
      val sig_of_type : Ppxlib.Parsetree.type_declaration -> Astlib.Ast_500.Parsetree.signature_item list
      val impl_generator : (Astlib.Ast_500.Parsetree.structure_item list, diff --git a/ppx_deriving/Ppx_deriving_enum/index.html b/ppx_deriving/Ppx_deriving_enum/index.html index 36b22f1..fb9ae6d 100644 --- a/ppx_deriving/Ppx_deriving_enum/index.html +++ b/ppx_deriving/Ppx_deriving_enum/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_enum (ppx_deriving.Ppx_deriving_enum)

      Module Ppx_deriving_enum

      val deriver : string
      val raise_errorf : +Ppx_deriving_enum (ppx_deriving.Ppx_deriving_enum)

      Module Ppx_deriving_enum

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> diff --git a/ppx_deriving/Ppx_deriving_eq/index.html b/ppx_deriving/Ppx_deriving_eq/index.html index 77021f2..bb641c5 100644 --- a/ppx_deriving/Ppx_deriving_eq/index.html +++ b/ppx_deriving/Ppx_deriving_eq/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_eq (ppx_deriving.Ppx_deriving_eq)

      Module Ppx_deriving_eq

      val deriver : string
      val raise_errorf : +Ppx_deriving_eq (ppx_deriving.Ppx_deriving_eq)

      Module Ppx_deriving_eq

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> diff --git a/ppx_deriving/Ppx_deriving_fold/index.html b/ppx_deriving/Ppx_deriving_fold/index.html index c3bbda7..a07ff53 100644 --- a/ppx_deriving/Ppx_deriving_fold/index.html +++ b/ppx_deriving/Ppx_deriving_fold/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_fold (ppx_deriving.Ppx_deriving_fold)

      Module Ppx_deriving_fold

      val deriver : string
      val raise_errorf : +Ppx_deriving_fold (ppx_deriving.Ppx_deriving_fold)

      Module Ppx_deriving_fold

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> diff --git a/ppx_deriving/Ppx_deriving_iter/index.html b/ppx_deriving/Ppx_deriving_iter/index.html index b4e6221..0144c51 100644 --- a/ppx_deriving/Ppx_deriving_iter/index.html +++ b/ppx_deriving/Ppx_deriving_iter/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_iter (ppx_deriving.Ppx_deriving_iter)

      Module Ppx_deriving_iter

      val deriver : string
      val raise_errorf : +Ppx_deriving_iter (ppx_deriving.Ppx_deriving_iter)

      Module Ppx_deriving_iter

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> diff --git a/ppx_deriving/Ppx_deriving_make/index.html b/ppx_deriving/Ppx_deriving_make/index.html index ea007df..6f9151f 100644 --- a/ppx_deriving/Ppx_deriving_make/index.html +++ b/ppx_deriving/Ppx_deriving_make/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_make (ppx_deriving.Ppx_deriving_make)

      Module Ppx_deriving_make

      val deriver : string
      val raise_errorf : +Ppx_deriving_make (ppx_deriving.Ppx_deriving_make)

      Module Ppx_deriving_make

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> @@ -12,9 +12,9 @@ Ppxlib__.Import.label_declaration Ppxlib.Attribute.flag * Ppxlib__.Import.core_type Ppxlib.Attribute.flag
      val get_label_attribute : ((Ppxlib.Parsetree.label_declaration, 'a) Ppxlib.Attribute.t - * (Ppxlib.Parsetree.core_type, 'b) Ppxlib.Attribute.t) -> + * (Ppxlib.Parsetree.core_type, 'a) Ppxlib.Attribute.t) -> Ppxlib.Parsetree.label_declaration -> - 'c option
      val has_label_flag : + 'a option
      val has_label_flag : (Ppxlib.Parsetree.label_declaration Ppxlib.Attribute.flag * Ppxlib.Parsetree.core_type Ppxlib.Attribute.flag) -> Ppxlib.Parsetree.label_declaration -> @@ -35,7 +35,7 @@ Ppxlib__.Import.expression
      val str_of_type : Ppxlib.Parsetree.type_declaration -> (Astlib.Ast_500.Parsetree.value_binding, Ppxlib__.Import.extension) - Stdlib.result
      val wrap_predef_option : 'a -> 'b
      val add_sig_label_arg : + Stdlib.result
      val wrap_predef_option : 'a -> 'a
      val add_sig_label_arg : Astlib.Ast_500.Parsetree.core_type -> Ppxlib.Parsetree.label_declaration -> Astlib.Ast_500.Parsetree.core_type
      val sig_of_record_type : @@ -45,7 +45,7 @@ Ppxlib__.Import.core_type
      val sig_of_type : Ppxlib.Parsetree.type_declaration -> (Astlib.Ast_500.Parsetree.signature_item, Ppxlib__.Import.extension) - Stdlib.result
      val partition_result : ('a, 'b) Stdlib.result list -> 'c list * 'd list
      val impl_generator : + Stdlib.result
      val partition_result : ('a, 'b) Stdlib.result list -> 'b list * 'a list
      val impl_generator : (Astlib.Ast_500.Parsetree.structure_item list, Ppxlib__.Import.rec_flag * Ppxlib.Parsetree.type_declaration list) Ppxlib__Deriving.Generator.t
      val intf_generator : diff --git a/ppx_deriving/Ppx_deriving_map/index.html b/ppx_deriving/Ppx_deriving_map/index.html index a141a28..aaeff5c 100644 --- a/ppx_deriving/Ppx_deriving_map/index.html +++ b/ppx_deriving/Ppx_deriving_map/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_map (ppx_deriving.Ppx_deriving_map)

      Module Ppx_deriving_map

      val deriver : string
      val raise_errorf : +Ppx_deriving_map (ppx_deriving.Ppx_deriving_map)

      Module Ppx_deriving_map

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> diff --git a/ppx_deriving/Ppx_deriving_ord/index.html b/ppx_deriving/Ppx_deriving_ord/index.html index 5dec982..6f09a4f 100644 --- a/ppx_deriving/Ppx_deriving_ord/index.html +++ b/ppx_deriving/Ppx_deriving_ord/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_ord (ppx_deriving.Ppx_deriving_ord)

      Module Ppx_deriving_ord

      val deriver : string
      val raise_errorf : +Ppx_deriving_ord (ppx_deriving.Ppx_deriving_ord)

      Module Ppx_deriving_ord

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> diff --git a/ppx_deriving/Ppx_deriving_runtime/Result/index.html b/ppx_deriving/Ppx_deriving_runtime/Result/index.html index d4d5aa5..02c4b1a 100644 --- a/ppx_deriving/Ppx_deriving_runtime/Result/index.html +++ b/ppx_deriving/Ppx_deriving_runtime/Result/index.html @@ -1,2 +1,2 @@ -Result (ppx_deriving.Ppx_deriving_runtime.Result)

      Module Ppx_deriving_runtime.Result

      type ('a, 'b) t = ('a, 'b) result =
      1. | Ok of 'a
      2. | Error of 'b
      type ('a, 'b) result = ('a, 'b) t =
      1. | Ok of 'a
      2. | Error of 'b
      +Result (ppx_deriving.Ppx_deriving_runtime.Result)

      Module Ppx_deriving_runtime.Result

      type ('a, 'b) t = ('a, 'b) result =
      1. | Ok of 'a
      2. | Error of 'b
      type ('a, 'b) result = ('a, 'b) t =
      1. | Ok of 'a
      2. | Error of 'b
      diff --git a/ppx_deriving/Ppx_deriving_runtime/index.html b/ppx_deriving/Ppx_deriving_runtime/index.html index 4f39f83..fba2f69 100644 --- a/ppx_deriving/Ppx_deriving_runtime/index.html +++ b/ppx_deriving/Ppx_deriving_runtime/index.html @@ -1,8 +1,8 @@ -Ppx_deriving_runtime (ppx_deriving.Ppx_deriving_runtime)

      Module Ppx_deriving_runtime

      A module collecting all predefined OCaml types, exceptions and modules operating on them, so that ppx_deriving plugins operate in a well-defined environment.

      type nonrec int = int

      Predefined types

      type nonrec char = char
      type nonrec string = string
      type nonrec float = float
      type nonrec bool = bool
      type nonrec unit = unit
      type nonrec exn = exn
      type nonrec 'a array = 'a array
      type nonrec 'a list = 'a list
      type nonrec 'a option = 'a option
      type nonrec nativeint = nativeint
      type nonrec int32 = int32
      type nonrec int64 = int64
      type nonrec 'a lazy_t = 'a lazy_t
      type nonrec bytes = bytes

      Predefined modules

      Operations on predefined types

      include module type of struct include Stdlib end
      val raise : exn -> 'a
      val raise_notrace : exn -> 'a
      val invalid_arg : string -> 'a
      val failwith : string -> 'a
      exception Exit
      exception Match_failure of string * int * int
      exception Assert_failure of string * int * int
      exception Invalid_argument of string
      exception Failure of string
      exception Not_found
      exception Out_of_memory
      exception Stack_overflow
      exception Sys_error of string
      exception End_of_file
      exception Division_by_zero
      exception Sys_blocked_io
      exception Undefined_recursive_module of string * int * int
      val (=) : 'a -> 'a -> bool
      val (<>) : 'a -> 'a -> bool
      val (<) : 'a -> 'a -> bool
      val (>) : 'a -> 'a -> bool
      val (<=) : 'a -> 'a -> bool
      val (>=) : 'a -> 'a -> bool
      val compare : 'a -> 'a -> int
      val min : 'a -> 'a -> 'a
      val max : 'a -> 'a -> 'a
      val (==) : 'a -> 'a -> bool
      val (!=) : 'a -> 'a -> bool
      val not : bool -> bool
      val (&&) : bool -> bool -> bool
      val (&) : bool -> bool -> bool
      • deprecated Use (&&) instead.
      val (||) : bool -> bool -> bool
      val or : bool -> bool -> bool
      • deprecated Use (||) instead.
      val __LOC__ : string
      val __FILE__ : string
      val __LINE__ : int
      val __MODULE__ : string
      val __POS__ : string * int * int * int
      val __FUNCTION__ : string
      val __LOC_OF__ : 'a -> string * 'a
      val __LINE_OF__ : 'a -> int * 'a
      val __POS_OF__ : 'a -> (string * int * int * int) * 'a
      val (|>) : 'a -> ('a -> 'b) -> 'b
      val (@@) : ('a -> 'b) -> 'a -> 'b
      val (~-) : int -> int
      val (~+) : int -> int
      val succ : int -> int
      val pred : int -> int
      val (+) : int -> int -> int
      val (-) : int -> int -> int
      val (*) : int -> int -> int
      val (/) : int -> int -> int
      val (mod) : int -> int -> int
      val abs : int -> int
      val max_int : int
      val min_int : int
      val (land) : int -> int -> int
      val (lor) : int -> int -> int
      val (lxor) : int -> int -> int
      val lnot : int -> int
      val (lsl) : int -> int -> int
      val (lsr) : int -> int -> int
      val (asr) : int -> int -> int
      val (~-.) : float -> float
      val (~+.) : float -> float
      val (+.) : float -> float -> float
      val (-.) : float -> float -> float
      val (*.) : float -> float -> float
      val (/.) : float -> float -> float
      val (**) : float -> float -> float
      val sqrt : float -> float
      val exp : float -> float
      val log : float -> float
      val log10 : float -> float
      val expm1 : float -> float
      val log1p : float -> float
      val cos : float -> float
      val sin : float -> float
      val tan : float -> float
      val acos : float -> float
      val asin : float -> float
      val atan : float -> float
      val atan2 : float -> float -> float
      val hypot : float -> float -> float
      val cosh : float -> float
      val sinh : float -> float
      val tanh : float -> float
      val acosh : float -> float
      val asinh : float -> float
      val atanh : float -> float
      val ceil : float -> float
      val floor : float -> float
      val abs_float : float -> float
      val copysign : float -> float -> float
      val mod_float : float -> float -> float
      val frexp : float -> float * int
      val ldexp : float -> int -> float
      val modf : float -> float * float
      val float : int -> float
      val float_of_int : int -> float
      val truncate : float -> int
      val int_of_float : float -> int
      val infinity : float
      val neg_infinity : float
      val nan : float
      val max_float : float
      val min_float : float
      val epsilon_float : float
      type fpclass = Stdlib.fpclass =
      1. | FP_normal
      2. | FP_subnormal
      3. | FP_zero
      4. | FP_infinite
      5. | FP_nan
      val classify_float : float -> fpclass
      val (^) : string -> string -> string
      val int_of_char : char -> int
      val char_of_int : int -> char
      val ignore : 'a -> unit
      val string_of_bool : bool -> string
      val bool_of_string_opt : string -> bool option
      val bool_of_string : string -> bool
      val string_of_int : int -> string
      val int_of_string_opt : string -> int option
      val int_of_string : string -> int
      val string_of_float : float -> string
      val float_of_string_opt : string -> float option
      val float_of_string : string -> float
      val fst : ('a * 'b) -> 'a
      val snd : ('a * 'b) -> 'b
      val (@) : 'a list -> 'a list -> 'a list
      type in_channel = Stdlib.in_channel
      type out_channel = Stdlib.out_channel
      val stdin : in_channel
      val stdout : out_channel
      val stderr : out_channel
      val print_char : char -> unit
      val print_string : string -> unit
      val print_bytes : bytes -> unit
      val print_int : int -> unit
      val print_float : float -> unit
      val print_endline : string -> unit
      val print_newline : unit -> unit
      val prerr_char : char -> unit
      val prerr_string : string -> unit
      val prerr_bytes : bytes -> unit
      val prerr_int : int -> unit
      val prerr_float : float -> unit
      val prerr_endline : string -> unit
      val prerr_newline : unit -> unit
      val read_line : unit -> string
      val read_int_opt : unit -> int option
      val read_int : unit -> int
      val read_float_opt : unit -> float option
      val read_float : unit -> float
      type open_flag = Stdlib.open_flag =
      1. | Open_rdonly
      2. | Open_wronly
      3. | Open_append
      4. | Open_creat
      5. | Open_trunc
      6. | Open_excl
      7. | Open_binary
      8. | Open_text
      9. | Open_nonblock
      val open_out : string -> out_channel
      val open_out_bin : string -> out_channel
      val open_out_gen : open_flag list -> int -> string -> out_channel
      val flush : out_channel -> unit
      val flush_all : unit -> unit
      val output_char : out_channel -> char -> unit
      val output_string : out_channel -> string -> unit
      val output_bytes : out_channel -> bytes -> unit
      val output : out_channel -> bytes -> int -> int -> unit
      val output_substring : out_channel -> string -> int -> int -> unit
      val output_byte : out_channel -> int -> unit
      val output_binary_int : out_channel -> int -> unit
      val output_value : out_channel -> 'a -> unit
      val seek_out : out_channel -> int -> unit
      val pos_out : out_channel -> int
      val out_channel_length : out_channel -> int
      val close_out : out_channel -> unit
      val close_out_noerr : out_channel -> unit
      val set_binary_mode_out : out_channel -> bool -> unit
      val open_in : string -> in_channel
      val open_in_bin : string -> in_channel
      val open_in_gen : open_flag list -> int -> string -> in_channel
      val input_char : in_channel -> char
      val input_line : in_channel -> string
      val input : in_channel -> bytes -> int -> int -> int
      val really_input : in_channel -> bytes -> int -> int -> unit
      val really_input_string : in_channel -> int -> string
      val input_byte : in_channel -> int
      val input_binary_int : in_channel -> int
      val input_value : in_channel -> 'a
      val seek_in : in_channel -> int -> unit
      val pos_in : in_channel -> int
      val in_channel_length : in_channel -> int
      val close_in : in_channel -> unit
      val close_in_noerr : in_channel -> unit
      val set_binary_mode_in : in_channel -> bool -> unit
      module LargeFile = Stdlib.LargeFile
      type !'a ref = 'a Stdlib.ref = {
      1. mutable contents : 'a;
      }
      val ref : 'a -> 'a ref
      val (!) : 'a ref -> 'a
      val (:=) : 'a ref -> 'a -> unit
      val incr : int ref -> unit
      val decr : int ref -> unit
      type (!'a, !'b) result = ('a, 'b) Stdlib.result =
      1. | Ok of 'a
      2. | Error of 'b
      type (!'a, !'b, !'c, !'d, !'e, !'f) format6 = +Ppx_deriving_runtime (ppx_deriving.Ppx_deriving_runtime)

      Module Ppx_deriving_runtime

      A module collecting all predefined OCaml types, exceptions and modules operating on them, so that ppx_deriving plugins operate in a well-defined environment.

      type nonrec int = int

      Predefined types

      type nonrec char = char
      type nonrec string = string
      type nonrec float = float
      type nonrec bool = bool
      type nonrec unit = unit
      type nonrec exn = exn
      type nonrec 'a array = 'a array
      type nonrec 'a list = 'a list
      type nonrec 'a option = 'a option
      type nonrec nativeint = nativeint
      type nonrec int32 = int32
      type nonrec int64 = int64
      type nonrec 'a lazy_t = 'a lazy_t
      type nonrec bytes = bytes

      Predefined modules

      Operations on predefined types

      include module type of struct include Stdlib end
      val raise : exn -> 'a
      val raise_notrace : exn -> 'a
      val invalid_arg : string -> 'a
      val failwith : string -> 'a
      exception Exit
      exception Match_failure of string * int * int
      exception Assert_failure of string * int * int
      exception Invalid_argument of string
      exception Failure of string
      exception Not_found
      exception Out_of_memory
      exception Stack_overflow
      exception Sys_error of string
      exception End_of_file
      exception Division_by_zero
      exception Sys_blocked_io
      exception Undefined_recursive_module of string * int * int
      val (=) : 'a -> 'a -> bool
      val (<>) : 'a -> 'a -> bool
      val (<) : 'a -> 'a -> bool
      val (>) : 'a -> 'a -> bool
      val (<=) : 'a -> 'a -> bool
      val (>=) : 'a -> 'a -> bool
      val compare : 'a -> 'a -> int
      val min : 'a -> 'a -> 'a
      val max : 'a -> 'a -> 'a
      val (==) : 'a -> 'a -> bool
      val (!=) : 'a -> 'a -> bool
      val not : bool -> bool
      val (&&) : bool -> bool -> bool
      val (||) : bool -> bool -> bool
      val __LOC__ : string
      val __FILE__ : string
      val __LINE__ : int
      val __MODULE__ : string
      val __POS__ : string * int * int * int
      val __FUNCTION__ : string
      val __LOC_OF__ : 'a -> string * 'a
      val __LINE_OF__ : 'a -> int * 'a
      val __POS_OF__ : 'a -> (string * int * int * int) * 'a
      val (|>) : 'a -> ('a -> 'b) -> 'b
      val (@@) : ('a -> 'b) -> 'a -> 'b
      val (~-) : int -> int
      val (~+) : int -> int
      val succ : int -> int
      val pred : int -> int
      val (+) : int -> int -> int
      val (-) : int -> int -> int
      val (*) : int -> int -> int
      val (/) : int -> int -> int
      val (mod) : int -> int -> int
      val abs : int -> int
      val max_int : int
      val min_int : int
      val (land) : int -> int -> int
      val (lor) : int -> int -> int
      val (lxor) : int -> int -> int
      val lnot : int -> int
      val (lsl) : int -> int -> int
      val (lsr) : int -> int -> int
      val (asr) : int -> int -> int
      val (~-.) : float -> float
      val (~+.) : float -> float
      val (+.) : float -> float -> float
      val (-.) : float -> float -> float
      val (*.) : float -> float -> float
      val (/.) : float -> float -> float
      val (**) : float -> float -> float
      val sqrt : float -> float
      val exp : float -> float
      val log : float -> float
      val log10 : float -> float
      val expm1 : float -> float
      val log1p : float -> float
      val cos : float -> float
      val sin : float -> float
      val tan : float -> float
      val acos : float -> float
      val asin : float -> float
      val atan : float -> float
      val atan2 : float -> float -> float
      val hypot : float -> float -> float
      val cosh : float -> float
      val sinh : float -> float
      val tanh : float -> float
      val acosh : float -> float
      val asinh : float -> float
      val atanh : float -> float
      val ceil : float -> float
      val floor : float -> float
      val abs_float : float -> float
      val copysign : float -> float -> float
      val mod_float : float -> float -> float
      val frexp : float -> float * int
      val ldexp : float -> int -> float
      val modf : float -> float * float
      val float : int -> float
      val float_of_int : int -> float
      val truncate : float -> int
      val int_of_float : float -> int
      val infinity : float
      val neg_infinity : float
      val nan : float
      val max_float : float
      val min_float : float
      val epsilon_float : float
      type fpclass = Stdlib.fpclass =
      1. | FP_normal
      2. | FP_subnormal
      3. | FP_zero
      4. | FP_infinite
      5. | FP_nan
      val classify_float : float -> fpclass
      val (^) : string -> string -> string
      val int_of_char : char -> int
      val char_of_int : int -> char
      val ignore : 'a -> unit
      val string_of_bool : bool -> string
      val bool_of_string_opt : string -> bool option
      val bool_of_string : string -> bool
      val string_of_int : int -> string
      val int_of_string_opt : string -> int option
      val int_of_string : string -> int
      val string_of_float : float -> string
      val float_of_string_opt : string -> float option
      val float_of_string : string -> float
      val fst : ('a * 'b) -> 'a
      val snd : ('a * 'b) -> 'b
      val (@) : 'a list -> 'a list -> 'a list
      type in_channel = Stdlib.in_channel
      type out_channel = Stdlib.out_channel
      val stdin : in_channel
      val stdout : out_channel
      val stderr : out_channel
      val print_char : char -> unit
      val print_string : string -> unit
      val print_bytes : bytes -> unit
      val print_int : int -> unit
      val print_float : float -> unit
      val print_endline : string -> unit
      val print_newline : unit -> unit
      val prerr_char : char -> unit
      val prerr_string : string -> unit
      val prerr_bytes : bytes -> unit
      val prerr_int : int -> unit
      val prerr_float : float -> unit
      val prerr_endline : string -> unit
      val prerr_newline : unit -> unit
      val read_line : unit -> string
      val read_int_opt : unit -> int option
      val read_int : unit -> int
      val read_float_opt : unit -> float option
      val read_float : unit -> float
      type open_flag = Stdlib.open_flag =
      1. | Open_rdonly
      2. | Open_wronly
      3. | Open_append
      4. | Open_creat
      5. | Open_trunc
      6. | Open_excl
      7. | Open_binary
      8. | Open_text
      9. | Open_nonblock
      val open_out : string -> out_channel
      val open_out_bin : string -> out_channel
      val open_out_gen : open_flag list -> int -> string -> out_channel
      val flush : out_channel -> unit
      val flush_all : unit -> unit
      val output_char : out_channel -> char -> unit
      val output_string : out_channel -> string -> unit
      val output_bytes : out_channel -> bytes -> unit
      val output : out_channel -> bytes -> int -> int -> unit
      val output_substring : out_channel -> string -> int -> int -> unit
      val output_byte : out_channel -> int -> unit
      val output_binary_int : out_channel -> int -> unit
      val output_value : out_channel -> 'a -> unit
      val seek_out : out_channel -> int -> unit
      val pos_out : out_channel -> int
      val out_channel_length : out_channel -> int
      val close_out : out_channel -> unit
      val close_out_noerr : out_channel -> unit
      val set_binary_mode_out : out_channel -> bool -> unit
      val open_in : string -> in_channel
      val open_in_bin : string -> in_channel
      val open_in_gen : open_flag list -> int -> string -> in_channel
      val input_char : in_channel -> char
      val input_line : in_channel -> string
      val input : in_channel -> bytes -> int -> int -> int
      val really_input : in_channel -> bytes -> int -> int -> unit
      val really_input_string : in_channel -> int -> string
      val input_byte : in_channel -> int
      val input_binary_int : in_channel -> int
      val input_value : in_channel -> 'a
      val seek_in : in_channel -> int -> unit
      val pos_in : in_channel -> int
      val in_channel_length : in_channel -> int
      val close_in : in_channel -> unit
      val close_in_noerr : in_channel -> unit
      val set_binary_mode_in : in_channel -> bool -> unit
      module LargeFile = Stdlib.LargeFile
      type !'a ref = 'a Stdlib.ref = {
      1. mutable contents : 'a;
      }
      val ref : 'a -> 'a ref
      val (!) : 'a ref -> 'a
      val (:=) : 'a ref -> 'a -> unit
      val incr : int ref -> unit
      val decr : int ref -> unit
      type (!'a, !'b) result = ('a, 'b) Stdlib.result =
      1. | Ok of 'a
      2. | Error of 'b
      type (!'a, !'b, !'c, !'d, !'e, !'f) format6 = ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.format6
      type (!'a, !'b, !'c, !'d) format4 = ('a, 'b, 'c, 'c, 'c, 'd) format6
      type (!'a, !'b, !'c) format = ('a, 'b, 'c, 'c) format4
      val string_of_format : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> string
      val format_of_string : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
      val (^^) : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('f, 'b, 'c, 'e, 'g, 'h) format6 -> - ('a, 'b, 'c, 'd, 'g, 'h) format6
      val exit : int -> 'a
      val at_exit : (unit -> unit) -> unit
      val valid_float_lexem : string -> string
      val unsafe_really_input : in_channel -> bytes -> int -> int -> unit
      val do_at_exit : unit -> unit
      module Arg : sig ... end
      module Array : sig ... end
      module ArrayLabels : sig ... end
      module Atomic : sig ... end
      module Bigarray : sig ... end
      module Bool : sig ... end
      module Buffer : sig ... end
      module Bytes : sig ... end
      module BytesLabels : sig ... end
      module Callback : sig ... end
      module Char : sig ... end
      module Complex : sig ... end
      module Digest : sig ... end
      module Either : sig ... end
      module Ephemeron : sig ... end
      module Filename : sig ... end
      module Float : sig ... end
      module Format : sig ... end
      module Fun : sig ... end
      module Gc : sig ... end
      module Genlex : sig ... end
      module Hashtbl : sig ... end
      module In_channel : sig ... end
      module Int : sig ... end
      module Int32 : sig ... end
      module Int64 : sig ... end
      module Lazy : sig ... end
      module Lexing : sig ... end
      module List : sig ... end
      module ListLabels : sig ... end
      module Map : sig ... end
      module Marshal : sig ... end
      module MoreLabels : sig ... end
      module Nativeint : sig ... end
      module Obj : sig ... end
      module Oo : sig ... end
      module Option : sig ... end
      module Out_channel : sig ... end
      module Parsing : sig ... end
      module Pervasives : sig ... end
      module Printexc : sig ... end
      module Printf : sig ... end
      module Queue : sig ... end
      module Random : sig ... end
      module Scanf : sig ... end
      module Seq : sig ... end
      module Set : sig ... end
      module Stack : sig ... end
      module StdLabels : sig ... end
      module Stream : sig ... end
      module String : sig ... end
      module StringLabels : sig ... end
      module Sys : sig ... end
      module Uchar : sig ... end
      module Unit : sig ... end
      module Weak : sig ... end
      module Stdlib = Stdlib
      module Result : sig ... end
      + ('a, 'b, 'c, 'd, 'g, 'h) format6
      val exit : int -> 'a
      val at_exit : (unit -> unit) -> unit
      val valid_float_lexem : string -> string
      val unsafe_really_input : in_channel -> bytes -> int -> int -> unit
      val do_at_exit : unit -> unit
      val do_domain_local_at_exit : (unit -> unit) ref
      module Arg : sig ... end
      module Array : sig ... end
      module ArrayLabels : sig ... end
      module Atomic : sig ... end
      module Bigarray : sig ... end
      module Bool : sig ... end
      module Buffer : sig ... end
      module Bytes : sig ... end
      module BytesLabels : sig ... end
      module Callback : sig ... end
      module Char : sig ... end
      module Complex : sig ... end
      module Condition : sig ... end
      module Digest : sig ... end
      module Domain : sig ... end
      module Dynarray : sig ... end
      module Effect : sig ... end
      module Either : sig ... end
      module Ephemeron : sig ... end
      module Filename : sig ... end
      module Float : sig ... end
      module Format : sig ... end
      module Fun : sig ... end
      module Gc : sig ... end
      module Hashtbl : sig ... end
      module In_channel : sig ... end
      module Int : sig ... end
      module Int32 : sig ... end
      module Int64 : sig ... end
      module Lazy : sig ... end
      module Lexing : sig ... end
      module List : sig ... end
      module ListLabels : sig ... end
      module Map : sig ... end
      module Marshal : sig ... end
      module MoreLabels : sig ... end
      module Mutex : sig ... end
      module Nativeint : sig ... end
      module Obj : sig ... end
      module Oo : sig ... end
      module Option : sig ... end
      module Out_channel : sig ... end
      module Parsing : sig ... end
      module Printexc : sig ... end
      module Printf : sig ... end
      module Queue : sig ... end
      module Random : sig ... end
      module Scanf : sig ... end
      module Semaphore : sig ... end
      module Seq : sig ... end
      module Set : sig ... end
      module Stack : sig ... end
      module StdLabels : sig ... end
      module String : sig ... end
      module StringLabels : sig ... end
      module Sys : sig ... end
      module Type : sig ... end
      module Uchar : sig ... end
      module Unit : sig ... end
      module Weak : sig ... end
      module Stdlib = Stdlib
      module Result : sig ... end
      diff --git a/ppx_deriving/Ppx_deriving_show/index.html b/ppx_deriving/Ppx_deriving_show/index.html index 45544a5..2d5f25b 100644 --- a/ppx_deriving/Ppx_deriving_show/index.html +++ b/ppx_deriving/Ppx_deriving_show/index.html @@ -1,5 +1,5 @@ -Ppx_deriving_show (ppx_deriving.Ppx_deriving_show)

      Module Ppx_deriving_show

      val deriver : string
      val raise_errorf : +Ppx_deriving_show (ppx_deriving.Ppx_deriving_show)

      Module Ppx_deriving_show

      val deriver : string
      val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> diff --git a/ppx_deriving/Ppx_deriving_std/index.html b/ppx_deriving/Ppx_deriving_std/index.html index baf4069..4de7642 100644 --- a/ppx_deriving/Ppx_deriving_std/index.html +++ b/ppx_deriving/Ppx_deriving_std/index.html @@ -1,2 +1,2 @@ -Ppx_deriving_std (ppx_deriving.Ppx_deriving_std)

      Module Ppx_deriving_std

      +Ppx_deriving_std (ppx_deriving.Ppx_deriving_std)

      Module Ppx_deriving_std

      diff --git a/ppx_deriving/index.html b/ppx_deriving/index.html index d06165d..6b6389f 100644 --- a/ppx_deriving/index.html +++ b/ppx_deriving/index.html @@ -1,2 +1,2 @@ -index (ppx_deriving.index)

      ppx_deriving index

      Library ppx_deriving.api

      The entry point of this library is the module: Ppx_deriving.

      Library ppx_deriving.create

      The entry point of this library is the module: Ppx_deriving_create.

      Library ppx_deriving.enum

      The entry point of this library is the module: Ppx_deriving_enum.

      Library ppx_deriving.eq

      The entry point of this library is the module: Ppx_deriving_eq.

      Library ppx_deriving.fold

      The entry point of this library is the module: Ppx_deriving_fold.

      Library ppx_deriving.iter

      The entry point of this library is the module: Ppx_deriving_iter.

      Library ppx_deriving.make

      The entry point of this library is the module: Ppx_deriving_make.

      Library ppx_deriving.map

      The entry point of this library is the module: Ppx_deriving_map.

      Library ppx_deriving.ord

      The entry point of this library is the module: Ppx_deriving_ord.

      Library ppx_deriving.runtime

      The entry point of this library is the module: Ppx_deriving_runtime.

      Library ppx_deriving.show

      The entry point of this library is the module: Ppx_deriving_show.

      Library ppx_deriving.std

      The entry point of this library is the module: Ppx_deriving_std.

      +index (ppx_deriving.index)

      ppx_deriving index

      Library ppx_deriving.api

      The entry point of this library is the module: Ppx_deriving.

      Library ppx_deriving.create

      The entry point of this library is the module: Ppx_deriving_create.

      Library ppx_deriving.enum

      The entry point of this library is the module: Ppx_deriving_enum.

      Library ppx_deriving.eq

      The entry point of this library is the module: Ppx_deriving_eq.

      Library ppx_deriving.fold

      The entry point of this library is the module: Ppx_deriving_fold.

      Library ppx_deriving.iter

      The entry point of this library is the module: Ppx_deriving_iter.

      Library ppx_deriving.make

      The entry point of this library is the module: Ppx_deriving_make.

      Library ppx_deriving.map

      The entry point of this library is the module: Ppx_deriving_map.

      Library ppx_deriving.ord

      The entry point of this library is the module: Ppx_deriving_ord.

      Library ppx_deriving.runtime

      The entry point of this library is the module: Ppx_deriving_runtime.

      Library ppx_deriving.show

      The entry point of this library is the module: Ppx_deriving_show.

      Library ppx_deriving.std

      The entry point of this library is the module: Ppx_deriving_std.