
12 Mar
2006
12 Mar
'06
6:44 p.m.
Thanks for the tip. A modified version of your suggestion worked for me: unsafeFreezeMatrix :: MMatrix s -> ST s Matrix unsafeFreezeMatrix (MMatrix x1 x2 marray) = do block <- unsafeFreeze marray return $ Matrix x1 x2 block However, just out of curiosity, I'm still curious at how I could do the runSTMatrix, which would really be the icing on the cake in terms of client usability.