blob: 8c4f7afc6426491af39d37cf88f364e057f71ef4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<interactive>:4:9: Warning:
Couldn't match type `[Dec]' with `Exp'
Expected type: Q Exp
Actual type: DecsQ
In the Template Haskell quotation [d| a = () |]
In the expression: [d| a = () |] :: Q Exp
In an equation for `x': x = [d| a = () |] :: Q Exp
<interactive>:1:1:
Exception when trying to run compile-time code:
<interactive>:4:9:
Couldn't match type `[Dec]' with `Exp'
Expected type: Q Exp
Actual type: DecsQ
In the Template Haskell quotation [d| a = () |]
In the expression: [d| a = () |] :: Q Exp
In an equation for `x': x = [d| a = () |] :: Q Exp
(deferred type error)
Code: x
In the expression: $x
|