7.8 Fixes and Warp fixes

It seems that the new Typeable class (new in ghc 7.7) does not like having custom instances. The docs say to just derive it.

[ 9 of 13] Compiling MFlow.Forms.Widgets ( src/MFlow/Forms/Widgets.hs, dist/build/MFlow/Forms/Widgets.o )

src/MFlow/Forms/Widgets.hs:111:3:
    ‘typeOf’ is not a (visible) method of class ‘Typeable’

I went ahead and commented lines 110-121 and just derived it and peppered all the neccessary Typeable constraints, and everything seems to compile well, now test are needed. Also fixed some random stuff to do with Network.Wai.Handler.Warp.Settings.


Although this still breaks:

Demos/Menu.hs:28:8:
    Could not find module ‘Text.Hamlet’
    It is a member of the hidden package ‘shakespeare-2.0.0.1’.
    Perhaps you need to add ‘shakespeare’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.