blob: 3d52dbe734d51576cc7524b34ca41cbc3c2ba009 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
T20113.hs:7:35: error: [GHC-55287]
• The newtype constructor pattern
does not have a fixed runtime representation.
Its type is:
a :: TYPE rep
• In the pattern: MkY {y_fld = $sel:y_fld:MkY}
In an equation for ‘T20113.$sel:y_fld:MkY’:
T20113.$sel:y_fld:MkY MkY {y_fld = $sel:y_fld:MkY} = $sel:y_fld:MkY
T20113.hs:7:35: error: [GHC-55287]
The first pattern in the equation for ‘$sel:y_fld:MkY’
does not have a fixed runtime representation.
Its type is:
Y a :: TYPE rep
|