summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_namePackage.hs
Commit message (Collapse)AuthorAgeFilesLines
* Add namePackage function to template-haskellRyanGlScott2015-09-171-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