Include qCurrentLoc in the Quasi class
From the "Notes on Template Haskell 2"[1] document.
currentLoc :: Q (FilePath, Int)
-- Returns the location of the top-level splice being executed.
[1] http://research.microsoft.com/\~simonpj/tmp/notes2.ps
Trac metadata
Trac field | Value |
---|---|
Version | 6.6.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Template Haskell |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |