Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add namePackage function to template-haskell | RyanGlScott | 2015-09-17 | 1 | -0/+23 |
Currently there exists a nameBase function (for retrieving a Name's OccName) and a nameModule function (for retrieving a Name's ModName), but there is no counterpart for PkgNames. This would be useful for implementing Template Haskell features which need to have easy access to a Name's package (e.g., automatically derived Lift instances). Reviewed By: goldfire, austin, thomie Differential Revision: https://phabricator.haskell.org/D1237 |