
22 Apr
2009
22 Apr
'09
5:27 a.m.
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... _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com