avoid GHC 7.6.3 bug: (((->) a) b) instance not recognized as equivalent to (a -> b)