[Haskell-cafe] What's the deal with Clean?

Don Stewart dons at galois.com
Tue Nov 3 21:48:16 EST 2009

> 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

More information about the Haskell-Cafe mailing list