ndmitchell / extra

Extra Haskell functions
Other
93 stars 37 forks source link

extra 1.7.7 needs tighter upper bound on base #113

Closed vmchale closed 1 month ago

vmchale commented 2 months ago

Old versions of extra fail to build against base >=4.19.0.0

src/Data/List/Extra.hs:254:37: error: [GHC-87543]
    Ambiguous occurrence ‘unzip’.
    It could refer to
       either ‘Prelude.unzip’,
              imported from ‘Prelude’ at src/Data/List/Extra.hs:49:1-14
              (and originally defined in ‘ghc-internal-9.1001.0:GHC.Internal.List’),
           or ‘Data.Functor.unzip’,
              imported from ‘Data.Functor’ at src/Data/List/Extra.hs:48:1-19
              (and originally defined in ‘ghc-internal-9.1001.0:GHC.Internal.Data.Functor’).
    |
254 | concatUnzip = (concat *** concat) . unzip
    |                                     ^^^^^

Revised bounds on this package would mean I could use --prefer-oldest to kick the tires on my own libraries.

Thanks for your work! :)

Bodigrim commented 1 month ago

As a Hackage trustee I made required revisions. Is it better now?

ndmitchell commented 1 month ago

Going to assume this is now working - thanks for the update @Bodigrim !