briand:
> Really, arrays in Haskell are the most @#!$! confusing thing in the  
> world.
>
> There's a bunch of different array structures.
>
> I can't tell which one works best, and all I want to do is x[i] = value.
>
> I thought uvector was the answer, you know, fast unboxed ARRAYs.   
> Imagine my surprise when I saw this
>
>   indexU :: UA e => UArr e -> Int -> e
>
>   O(n). indexU extracts an element out of an immutable unboxed array.

Umm.... That's a typo in the docs. Thanks.

-- Don

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to