blob: faa2a9e90bc77b65394f185677c5050ebc529de6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
TH_implicitParamsErr2.hs:5:9: error:
• Implicit parameters mixed with other bindings
When splicing a TH expression: let {?x = 1; y = 2}
in y
• In the untyped splice:
$(letE
[implicitParamBindD "x" [| 1 |],
funD (mkName "y") [clause [] (normalB [| 2 |]) []]]
(varE (mkName "y")))
|