proposal: add 'unsafeCoerce'

Samuel Bronson naesten at
Fri Nov 10 17:43:55 EST 2006

On 11/10/06, Ashley Yakeley <ashley at> wrote:
> kahl at wrote:
> > I'd much prefer Data.Unsafe.
> I'd like to see all unsafe function in an Unsafe.* hierarchy (possibly
> consisting only of the single module Unsafe). Thus one could avoid
> unsafety altogether by avoiding the Unsafe and Foreign hierarchies.

Couldn't you just avoid using functions having "unsafe" as a name
prefix? Its not like they have names like "inocuousPerformIO" or

More information about the Libraries mailing list