made this GHC 7.8-ready

Not sure whether I git the style right, though.