unboxed arrays for nhc/jhc

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Mar 7 05:15:22 EST 2006

Hello ,

i'm now working on alternative unxboxed arrays implementation, based
on the Oleg Kiselyov idea

this implementation is already compatible with Hugs and GHC, now i
plan to make it NHC-compatible. i have the following question - is NHC

1) strict ST monad
2) unsafeIOtoST operation
3) Data.Array.*

if nhc don't supports ST/unsafeIOtoST, then i plan to use the
following ST monad emulation:

type ST a = IO a
unsafeIOtoST = id
runST = unsafePerformIO

also i plan to use this emulation layer for JHC. is this can work?

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

More information about the Libraries mailing list