catching up to the latest GHC 7.7.

This patch makes doctest compilable with GHC head. No warnings.

But "cabal test" fails both in "doctests" and "spec".