Today I noticed that there is no instance declaration for NFData, in the
uvector package.
The definition is quite simple:
instance NFData a => NFData (UArr a) where
-- NOTE: UArr is already strict
rnf array = array `seq` ()
but it is important.
In a my program I was using a tuple of two arrays, and plain `seq` did
not worked.
Regards Manlio Perillo
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe