blob: 6f2169c717e30ad3ac924f952f1a9b7f3bb4bc79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
T21650_a.hs:25:8: error: [GHC-55287]
• Unsaturated use of a representation-polymorphic newtype constructor.
The first argument of ‘MkN’
does not have a fixed runtime representation.
Its type is:
F Float :: TYPE (R Float)
• In the expression: MkN
In an equation for ‘foo1’: foo1 = MkN
T21650_a.hs:28:10: error: [GHC-55287]
• Unsaturated use of a representation-polymorphic newtype constructor.
The first argument of ‘MkN’
does not have a fixed runtime representation.
Its type is:
F Double :: TYPE (R Double)
• In the expression: MkN
In an equation for ‘foo2’: foo2 _ = MkN
|