Quoting Jake Wheat <[email protected]>:

On 14 February 2010 16:02, Henk-Jan van Tuyl <[email protected]> wrote:
Finally, it is the array subscript operator:

let x = arr ! 10

Shouldn't this be

let x = arr !! 10

(!) is for arrays, (!!) is for lists.
~d
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to