Ticket #5555 (closed feature request: fixed)
support qualified names for invoking a quasiquoter
|Reported by:||nfrisby||Owned by:||pcapriotti|
|Type of failure:||None/Unknown||Difficulty:||Unknown|
|Test Case:||Blocked By:|
module M import qualified A (qq) import qualified B (qq)
In 7.0.3, the quasiquotation syntax [A.qq|...|] is rejected with parse error on input `A.qq'.
Because of the stage-restriction, the only option is to create an auxiliary module
module AB where import qualified A; import qualified B qqA = A.qq qqB = B.qq
and import that into M. This is a pretty heavy-weight workaround.
Is there a reason qualified names are disallowed for invoking a quasiquoter?