G'day all.

Quoting JP Bernardy <[EMAIL PROTECTED]>:

> Would you prefix the function name with unsafe? I
> wonder what is the best way to do such a marking.

I would recommend not using that particular prefix.  At the moment,
I believe that "unsafe" is only used for functions which could
potentially cause a core dump if misused.

What we have here is a function whose domain is some subset of the
entire set of values which can be passed to it, but fails to check
this.  As a suggestion, how about calling functions like this
"uncheckedFoo", but also providing a "foo" which is checked?

Cheers,
Andrew Bromage
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to