blob: 47972a4e5a84c4b755982e6beff5aba286203545 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<no location info>: warning: [GHC-98887]
-XGeneralizedNewtypeDeriving is not allowed in Safe Haskell; ignoring -XGeneralizedNewtypeDeriving
<interactive>:16:29: error: [GHC-82023]
• Can't make a derived instance of ‘Op T2’:
‘Op’ is not a stock derivable class (Eq, Show, etc.)
• In the newtype declaration for ‘T2’
Suggested fix:
Perhaps you intended to use GeneralizedNewtypeDeriving
for GHC's newtype-deriving extension
<interactive>:19:9: error: [GHC-88464]
Data constructor not in scope: T2 :: T -> t
Suggested fix: Perhaps use ‘T1’ (line 13)
<interactive>:22:4: error: [GHC-88464] Variable not in scope: y
|