blob: 6267aa6405c1eeeff43aca75f484188b07591289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
T6114.hs:6:17:
The exact Name ‛x’ is not in scope
Probable cause: you used a unique Template Haskell name (NameU),
perhaps via newName, but did not bind it
If that's it, then -ddump-splices might be useful
In the argument of reifyInstances: GHC.Classes.Eq x_0
In the splice:
$(do { xName <- newName "x";
instanceType <- [t| $(varT xName) |];
_ <- reifyInstances ''Eq [instanceType];
.... })
|