[GHC] #994: add 'unsafeCoerce' to a standard location in the hierarchical libraries

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Nov 13 07:49:27 EST 2006


Hello GHC,

Monday, November 13, 2006, 3:18:13 PM, you wrote:

>  Unsafe.Coerce.  Later proposals might want to move some of the Array and
>  IO operations into this new Unsafe.* hierarchy as well.

it seems that you misunderstood situation: you will need to move whole
Array implementation to such Unsafe.* module because it is base on the
unsafeRead/Write operations. you _cannot_ export only safe operations
from Data.Array.* hierarchy and then add unsafe ones in other place



-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com




More information about the Glasgow-haskell-bugs mailing list