Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Derive.Has
Description
Has is a pseudo derivation. For each field of any constructor of
the data type, Has generates has
FieldName which returns True
if given the the given field is a member of the constructor of the
passed object, and False
otherwise.
Documentation
makeHas :: Derivation Source #