blob: f4f7bd09fe7a836a7f6db05a04ac767d8212a06a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
RepPolySum.hs:11:9: error:
• The unboxed sum result type does not have a fixed runtime representation:
(# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep])
• In the expression: (# | bar () #)
In an equation for ‘foo’:
foo _
= (# | bar () #)
where
bar :: () -> a
bar _ = undefined
RepPolySum.hs:20:9: error:
• The unboxed sum result type does not have a fixed runtime representation:
(# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep])
• In the expression: (# 17# | #)
In an equation for ‘baz’: baz _ = (# 17# | #)
|