[Haskell-cafe] Re: Haskell Propeganda

Ashley Yakeley ashley at semantic.org
Mon Aug 25 00:33:29 EDT 2008

Don Stewart wrote:

> You just wrote unsafeCoere# a different way:
>         typeOf T = typeOf (undefined :: IORef ())

Right. It's straightforward to write unsafe segfaulting code in 
apparently safe Haskell.

> Manual Typeable deriving should probably be disabled :-)

Another ugly special-case hack. There's a better way.

Ashley Yakeley

More information about the Haskell-Cafe mailing list