blob: 628dbced5a4a83a0fb5d0e2726a8b55e4808319e (
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:
• 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:
• 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
|