[Haskell-cafe] The Typeable class is changing

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Tue Jul 12 10:30:11 CEST 2011


Carl Howells <chowells at janrain.com> writes:

> This will affect snap-core and heist, of the things I've provided
> Typeable instances for.
>
> In snap-core, deriving makes it use the internal module name, rather
> than the canonical location of the type.  This causes issues with the
> Hint library, so it's worked around by using a manual instance of
> Typeable.

There’ll be a replacement for mkTycon (mkTycon3), so you can
still do manual instances…

> So, this change will hit me for two different reasons, and sadly
> involve using CPP to control how things are compiled.

so that shouldn’t be necessary.

-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk





More information about the Haskell-Cafe mailing list