Quoting Jake Wheat <jakewheatm...@googlemail.com>:

On 14 February 2010 16:02, Henk-Jan van Tuyl <hjgt...@chello.nl> 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
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to