Unsafe Functions

Sven Panne Sven.Panne at aedion.de
Fri Apr 28 02:20:58 EDT 2006


Am Mittwoch, 26. April 2006 01:02 schrieb Ashley Yakeley:
> I would like to start a discussion on the role of unsafe functions in
> Haskell:
>
> [...]
>    unsafePreservingMatrix, unsafeRenderPrimitive
> [...]

These two functions are not "unsafe" in the sense the other functions are. The 
prefix only indicates that the action passed to them should not throw an 
exception.

Cheers,
    S.


More information about the Libraries mailing list