-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.8 Fixes and Warp fixes #26
Conversation
I may want to break this out into two pull reqs, since the Warp part is really different from the Typeable constraints. What do you think? |
Try to add shakespeare tot he dependency list of the demos-blaze Demos/Menu.hs:28:8: 2014-04-02 21:53 GMT+02:00, Aistis Raulinaitis notifications@github.com:
Alberto. |
Oh boy, seems to cascade to a whole bunch more stuff. I'll see what I can On Wed, Apr 2, 2014 at 3:46 PM, agocorona notifications@github.com wrote:
|
I had to revert the typeable change in WIdgets.hs to compile in my Do you know how we can detect the ghc version?. 2014-04-02 21:53 GMT+02:00 Aistis Raulinaitis notifications@github.com:
Alberto. |
I'll take a look at it, it should be possible to fix this with some CPP On Wed, Apr 9, 2014 at 11:31 PM, agocorona notifications@github.com wrote:
|
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.