package ppx_irmin

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

val derive_str : ?name:string -> ?lib:Ppxlib.expression -> (Ppxlib.rec_flag * Ppxlib.type_declaration list) -> Ppxlib.structure_item list

Deriver for Irmin generics.

  • ?name: overrides the default name of the generated generic;
  • ?lib: overrides the default location for the primitive Irmin generics. ~lib:None will assume that the generics are available in the same namespace.
val derive_sig : ?name:string -> ?lib:Ppxlib.expression -> (Ppxlib.rec_flag * Ppxlib.type_declaration list) -> Ppxlib.signature_item list

Deriver for Irmin generic type signatures.

Optional arguments have the same meaning as in derive_str.

OCaml

Innovation. Community. Security.