Update libraries.

The application I was building required some pieces from these modules
that didn’t exist. I copied the versions that ship with GHC 7.8,
cutting out little bits that didn’t work with Haste.
Merge pull request #259 from joelburget/master

Add some bits from the 7.8 libraries.