Reputation: 16645
I need to work around a bug present in (I think) GHC (7.8.0 - 7.8.2). I don't think I can use __GLASGOW_HASKELL__
since we only get major and minor version numbers, and I don't think I can use the base
library version (although I can't find a list associating ghc releases -> base
versions).
In other words I need to do:
#if GHC < 7.8.3
this code
#else
this code
#endif
Upvotes: 1
Views: 297