
25 Aug
2008
25 Aug
'08
12:33 a.m.
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