haskell / hoopl

Higher-order optimization library
http://hackage.haskell.org/package/hoopl
Other
73 stars 27 forks source link

Get rid of `#if CABAL` conditionals again #18

Closed hvr closed 8 years ago

hvr commented 8 years ago

Those were introduced via 814d4ef37ef3b5f2dfeddced3875cbd3e8b375b1 but there's actually a more elegant way to avoid redundant imports in combination with MRP-style refactoring (as started in 20fad2ed91cd78ed8b9bd92aae1ecfdfb8350d2f)

hvr commented 8 years ago

@mlite I'm going to merge this PR now as it's blocking me from updating GHC HEAD to base-4.9 otherwise

If it turns out there's any problems with this change, we can easily revert it again