manlio_perillo:
> 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.

Contact the author with a patch :-)

-- Don (who thinks NFData should be sorted out and in base)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to