Import function instance for the sake of GHCi.

For some bizarre reason this works with GHC, even if the QuickCheck
definitions generated by `quickCheckAll` need it.  Now I can get a
`cabal repl` prompt.