generic-data-functions-0.2.0: Familiar functions lifted to generic data types
Safe HaskellSafe-Inferred
LanguageGHC2021

Generic.Data.Function.Common

Documentation

data SumOpts Source #

Constructors

SumOnly

Only "proper" sum types are permitted, no singletons.

AllowSingletonSum

Treat a single constructor as a sum type still.