proposal: add 'unsafeCoerce'
Samuel Bronson
naesten at gmail.com
Fri Nov 10 17:43:55 EST 2006
On 11/10/06, Ashley Yakeley <ashley at semantic.org> wrote:
> kahl at cas.mcmaster.ca 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
anything!
More information about the Libraries
mailing list