Hello Jason,

Wednesday, April 22, 2009, 1:14:49 PM, you wrote:

there is no any need in unsafePerformIO for array computations - ST
monad is exactly what one need here

>   If you want to do raw IO and repackage it as "pure", you can
>   use `unsafePerformIO` and friends. It is important to use the
>   `NOINLINE` pragma in that case.

> --
> Jason Dusek


>  |...unsafePerformIO...|
>  
> http://haskell.org/ghc/docs/latest/html/libraries/base/System-IO-Unsafe.html#v%3AunsafePerformIO
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe


-- 
Best regards,
 Bulat                            mailto:[email protected]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to