It looks like Data.Typeable no longer exports Typeable1 so I added some CPP conditions to make Snap.Internal.Types compile. My changes may be naive - please check! But snap-core now builds and installs for me on ghc7.7.2013.11.06.
conditional typeable deriving for ghc versions
I wonder why exactly the manual instance in 8ee59a2 was needed anyway... i.e. why couldn't hint handle the auto-derived one?
Hey @chowells79 -- is this the right thing to do here?
Would it be better to use #if __GLASGOW_HASKELL__ >= 707 ? It would achieve the same effect but wouldn't be effective for compiling with Hugs, me thinks.
#if __GLASGOW_HASKELL__ >= 707
Lots of stuff in snap isn't going to compile with things other than ghc. I think I'd use the __GLASGOW_HASKELL__ guard, since it's slightly easier to read. But either way, this is the right approach.
I guess this can be closed as master compiles with ghc 7.8?
Yeah someone else added the required code IIRC -- but could you verify it's fixed and close this if so?
It compiles with ghc-18.104.22.16840228 (rc2) for me. Couldn't test further as looks like that snap-server would require similar changes. And I cannot close other's PRs. :)
HEAD builds for me as well on ghc 7.8 rc2. Closing this PR.