ndmitchell / extra

Extra Haskell functions
Other
94 stars 37 forks source link

GHC9.8: ambiguous reference to unzip #105

Closed locallycompact closed 1 year ago

locallycompact commented 1 year ago
extra> src/Data/List/Extra.hs:291:37: error: [GHC-87543]
extra>     Ambiguous occurrence ‘unzip’.
extra>     It could refer to
extra>        either ‘Prelude.unzip’,
extra>               imported from ‘Prelude’ at src/Data/List/Extra.hs:50:1-14
extra>               (and originally defined in ‘GHC.List’),
extra>            or ‘Data.Functor.unzip’,
extra>               imported from ‘Data.Functor’ at src/Data/List/Extra.hs:48:1-19.
extra>     |
extra> 291 | concatUnzip = (concat *** concat) . unzip
extra>     |                                     ^^^^^
extra> [10 of 22] Compiling Data.Either.Extra ( src/Data/Either/Extra.hs, dist/build/Data/Either/Extra.o, dist/build/Data/Either/Extra.dyn_o )

caught by https://gitlab.horizon-haskell.net/package-sets/horizon-core/-/jobs/378603

ndmitchell commented 1 year ago

Thanks for the report. Fixed by v1.7.14 now out.