snapframework / snap

Top-level package for the official Snap Framework libraries, includes the snaplets API as well as infrastructure for sessions, auth, and templates.
http://snapframework.com/
BSD 3-Clause "New" or "Revised" License
455 stars 68 forks source link

Snap.Loader.Devel missing in the .cabal file #18

Closed dflemstr closed 12 years ago

dflemstr commented 12 years ago

Snap.Loader.Prod is included, while Snap.Loader.Devel is not. This causes development servers to fail to compile.

mightybyte commented 12 years ago

This is not a bug. See http://snapframework.com/faq#how-do-i-run-my-app-in-development-mode

dflemstr commented 12 years ago

This looks like a really strange design decision. How come that there isn't a separate snap-dev package that includes this module and the additional dependency? If this has been discussed previously, feel free to disregard this comment.

mightybyte commented 12 years ago

If all the snap dependencies worked flawlessly, then I agree that it's a strange design decision. However, I believe the issue is that recently there were major changes to the GHC API and the hint package hasn't caught up. IIRC the current state of affairs was originally motivated by issue 11. I guess we just never considered making a separate package.