blob: a5dab96c1ee2c4f4ffc5721356230c58d5589926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<no location info>: Warning:
-XGeneralizedNewtypeDeriving is not allowed in Safe Haskell; ignoring -XGeneralizedNewtypeDeriving
<interactive>:16:29:
Can't make a derived instance of ‘Op T2’:
‘Op’ is not a derivable class
Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
In the newtype declaration for ‘T2’
<interactive>:19:9:
Not in scope: data constructor ‘T2’
Perhaps you meant ‘T1’ (line 13)
<interactive>:22:4: Not in scope: ‘y’
|