support base 4.7 for ghc-7.8 

It works fine on ghc-7.8.3