Fix workaround for GHC bug #8978
Revert "make a tiny fix that removes typeerror in ghc 7.8.1"

This commit right before this one is a slightly cleaner fix.

This reverts commit 6f061fdefada887c6d5da317183def9fc063dfaf.