blob: fab508a331313f94f5b6407c1dd10d7d5d2d1317 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
TH_unresolvedInfix2.hs:12:11:
The operator ‛:+’ [infixl 6] of a section
must have lower precedence than that of the operand,
namely ‛:+’ [infixl 6]
in the section: ‛:+ N :+ N’
In the result of the splice:
$(let
plus = conE ':+
n = conE 'N
in infixE Nothing plus (Just $ uInfixE n plus n))
To see what the splice expanded to, use -ddump-splices
In the expression:
$(let
plus = conE ...
n = conE ...
in infixE Nothing plus (Just $ uInfixE n plus n))
In an equation for ‛expr’:
expr
= $(let
plus = ...
....
in infixE Nothing plus (Just $ uInfixE n plus n))
|