ndmitchell / extra

Extra Haskell functions
Other
94 stars 37 forks source link

Add CPP to build with latest GHC (9.10) #111

Closed vmchale closed 5 months ago

vmchale commented 7 months ago

As of GHC 9.10, sortOn for nonempty lists is part of base.

josephcsible commented 7 months ago

Since the change in question was to the base library and not the compiler itself, can you use #if MIN_VERSION_base(4,20,0) instead?

ndmitchell commented 5 months ago

Thanks! Released as https://hackage.haskell.org/package/extra-1.7.15