blob: 866e3e0777dbf41a8b6b35997bf41e2046becce0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
T18102.hs:11:22: error:
• Not in scope: ‘ifThenElse’
• In the Template Haskell typed quotation
[|| if True then 10 else 15 ||]
In the typed splice:
$$(do _stuff <- [|| if True then 10 else 15 ||]
return [])
T18102.hs:11:35: error:
• Not in scope: ‘fromInteger’
• In the Template Haskell typed quotation
[|| if True then 10 else 15 ||]
In the typed splice:
$$(do _stuff <- [|| if True then 10 else 15 ||]
return [])
Suggested fix:
Perhaps you want to add ‘fromInteger’ to the import list
in the import of ‘Prelude’ (T18102.hs:5:1-50).
T18102.hs:11:43: error:
• Not in scope: ‘fromInteger’
• In the Template Haskell typed quotation
[|| if True then 10 else 15 ||]
In the typed splice:
$$(do _stuff <- [|| if True then 10 else 15 ||]
return [])
Suggested fix:
Perhaps you want to add ‘fromInteger’ to the import list
in the import of ‘Prelude’ (T18102.hs:5:1-50).
|