Define a Quote IO instance to parallel the existing Quasi IO instance
Currently, template-haskell
defines two Quasi
instances: Quasi Q
and Quasi IO
. On the other hand, there is a Quote Q
instance but no Quote IO
instance. This is a peculiar omission, especially since the Quasi IO
instance has a perfectly reasonable implementation of qNewName
, which is all that a Quote
instance would need.
I ran this idea past @mpickering, the architect behind Quote
, and he couldn't think of a particular reason not to do this. Therefore, this issue tracks adding this Quote IO
instance to template-haskell
.