[Haskell-cafe] Array use breaks when I make it unboxed?
Felipe Lessa
felipe.lessa at gmail.com
Sat Feb 21 20:31:22 EST 2009
On Sat, Feb 21, 2009 at 10:26 PM, Phil <pbeadling at mail2web.com> wrote:
> Thanks for the tip - I got it to work using:
>
> a :: UArray Int Double
>
> .... And so on.
That's nice. I should have noted as well that you may say just
a, b, c, d :: UArray Int Double
or, even better,
type DataArray = UArray Int Double
a, b, c, d :: DataArray
And yes, that "UArray (Int,Int) Double" was a typo, sorry =).
Cheers,
--
Felipe.
More information about the Haskell-Cafe
mailing list