mirror of
https://github.com/circuithub/rel8.git
synced 2024-09-11 16:05:41 +03:00
Document Enumable
This commit is contained in:
parent
32395d07b0
commit
b86acbdf71
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user