Because if I try to compile 0.6 with GHC 8.2.1, the following happens:
Preprocessing library for syb-0.6..
Building library for syb-0.6..
[ 1 of 16] Compiling Data.Generics.Aliases ( src/Data/Generics/Aliases.hs, dist/build/Data/Generics/Aliases.o )
[ 2 of 16] Compiling Data.Generics.Basics ( src/Data/Generics/Basics.hs, dist/build/Data/Generics/Basics.o )
[ 3 of 16] Compiling Data.Generics.Builders ( src/Data/Generics/Builders.hs, dist/build/Data/Generics/Builders.o )
[ 4 of 16] Compiling Data.Generics.Instances ( src/Data/Generics/Instances.hs, dist/build/Data/Generics/Instances.o )
src/Data/Generics/Instances.hs:73:10: error:
• Illegal instance declaration for ‘Data TypeRep’
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use TypeSynonymInstances if you want to disable this.)
• In the instance declaration for ‘Data TypeRep’
|
73 | instance Data TypeRep where
| ^^^^^^^^^^^^
Because if I try to compile 0.6 with GHC 8.2.1, the following happens: