blob: 07133257c56625ebaa44ecf026fb8adc1d7f7430 (
plain)
1
2
3
4
5
6
7
|
T15523.hs:5:20: error: [GHC-23517]
• A newtype constructor must have exactly one field
but ‘Foo’ has none
Foo :: Duration
• In the definition of data constructor ‘Foo’
In the newtype declaration for ‘Duration’
|