Copyright | (C) 2014 Ricky Elrod |
---|---|
License | BSD2 (see LICENSE file) |
Maintainer | Ricky Elrod <ricky@elrod.me> |
Stability | experimental |
Portability | lens, template-haskell |
Safe Haskell | None |
Language | Haskell2010 |
- namespaceLensRules :: LensRules
- abbreviatedNamer :: Name -> [Name] -> Name -> [DefName]
Documentation
namespaceLensRules :: LensRules
abbreviatedNamer :: Name -> [Name] -> Name -> [DefName]
This is taken straight out of TH
but modified to give
a TopName
back instead of a MethodName
. This means we can
makeLensesWith
out classes using abbreviated fields.