proposal: add 'unsafeCoerce'

Bulat Ziganshin bulat.ziganshin at
Sat Nov 11 03:48:54 EST 2006

Hello Robert,

Saturday, November 11, 2006, 4:06:20 AM, you wrote:

> it is _unconditionally_ typesafe.  If I can disallow unsafe primitives by
> just limiting the Unsafe.* and Foreign.* modules, that's a big win. If I
> instead have to keep a list of unsafe functions, that's not so good.

> So, I guess count this as another vote for Unsafe.*

don't forget about Data.Array.Base and Data.ByteString.Base modules :)

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Libraries mailing list