
#13608: Expose the type of quasiquotes -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez | facundo.dominguez Type: bug | Status: patch Priority: normal | Milestone: Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: QuasiQuotes Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: 12778 | Differential Rev(s): Phab:D3610 Wiki Page: | -------------------------------------+------------------------------------- Comment (by facundo.dominguez): I just submitted the patch with the work in progress I have. But I'm fine further discussing a proposal.
I Utterly Hate the idea of making up a funny name based on the hash of a location ...
Well, I hope the programmer doesn't have to do it. The function `getCurrentQuasiQuoteName` would be provided in the template-haskell package for that sake. I hope the test in https://phabricator.haskell.org/D3610 makes clear how it works. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13608#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler