package ppx_derive_at_runtime

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

Module Sample.DeriveSource

Sourcemodule Value : sig ... end
Sourcemodule Types : sig ... end
Sourceval empty : ('a -> Base.Nothing.t) -> 'a Value.t

Derives values for empty types.

Sourceval tuple : 'a Types.Tuple.t -> 'a Value.t

Derives values for tuple types.

Sourceval record : 'a Types.Record.t -> 'a Value.t

Derives values for record types.

Sourceval variant : 'a Types.Variant.t -> 'a Value.t

Derives values for variant types.

Sourceval poly_variant : 'a Types.Poly_variant.t -> 'a Value.t

Derives values for polymorphic variant types.

Sourceval recursive : Base.string -> 'a Value.t Base.Lazy.t -> 'a Value.t

Derives values for recursive types, including their name.

Sourceval with_attribute : 'a Value.t -> 'a Value.attribute -> 'a Value.t

Derives values for types annotated with Value.attribute.