Hello,
I have tried to compile a code like the following with GHC ...
==
module Foo where
import MutableArray
import ByteArray
import ST
import PrelArrExtra
class Foo t where
foo :: t -> ByteArray ix
instance Ix ix => Foo (MutableByt
Fri, 29 Sep 2000 12:26:42 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> pisze:
> instance Ix ix => Foo (MutableByteArray s ix) where
>
> foo x = runST(unsafeFreezeByteArray x)
Mutable objects in the ST world, parametrized by those s type
variables, must be created and used "locally" in