GHC 7.10 requires extensions like FlexibleContexts on inferred
signatures if writing down the signature would need the extension. See
the top bullet point here [1].
[1] https://downloads.haskell.org/~ghc/7.10.1-rc1/docs/html/users_guide/release-7-10-1.html#idp5770992