dreixel / syb

Scrap Your Boilerplate generic programming library in Haskell
http://www.cs.uu.nl/wiki/GenericProgramming/SYB
Other
44 stars 23 forks source link

syb-0.5.1 and 0.6 should have a base < 4.10 bound #17

Closed 23Skidoo closed 2 years ago

23Skidoo commented 7 years ago

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
   |          ^^^^^^^^^^^^
sjakobi commented 3 years ago

This seems fixed:

sergv commented 2 years ago

Closing since it appears to be fixed. Please reopen if it's not.