blob: 36ee15327d5ad120fbd656e41bbc0fad0a0b0b49 (
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: error:
• Can't make a derived instance of ‘Op T2’:
‘Op’ is not a stock derivable class (Eq, Show, etc.)
Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
• In the newtype declaration for ‘T2’
<interactive>:19:9: error:
• Data constructor not in scope: T2 :: T -> t
• Perhaps you meant ‘T1’ (line 13)
<interactive>:22:4: error: Variable not in scope: y
|