Module Parser.VariantSource

Sourcemodule type S = sig ... end
Sourceval make : ?namespace:string list -> (module S with type Typed_variant.derived_on = 'a) -> 'a t

Makes a parser for 'a where 'a is a Variant.

For documentation/examples on the ?namespace optional parameter, please read the documentation on Record.make