Document Enumable

This commit is contained in:
Ollie Charles 2021-06-18 10:54:02 +01:00
parent 32395d07b0
commit b86acbdf71

View File

@ -104,6 +104,8 @@ class (DBType a, Enumable a) => DBEnum a where
enumTypeName :: String
-- | Types that are sum types, where each constructor is unary (that is, has no
-- fields).
class (Generic a, GEnumable (Rep a)) => Enumable a
instance (Generic a, GEnumable (Rep a)) => Enumable a