ndmitchell / extra

Extra Haskell functions
Other
93 stars 37 forks source link

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

Closed vmchale closed 6 months ago

vmchale commented 8 months ago

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

josephcsible commented 8 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 6 months ago

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