jgm / skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions
194 stars 62 forks source link

Fix build on GHC 7.8.4 #52

Closed gwils closed 6 years ago

gwils commented 6 years ago

Currently this package falsely advertises compatibility with base 4.7. This PR makes it compatible with that base version (shipped with GHC 7.8)

An alternative to this is to change the base lower bound to base >= 4.8 to make it explicit that GHC 7.8 is no longer supported. As a Hackage trustee, I've revised existing versions of skylighting-core to give them that bound, preventing bad install plans on GHC 7.8

jgm commented 6 years ago

Thanks for your efforts. I think I'm going to take the simpler path of base >= 4.8, though.