haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] What is the meaning of tilde ("~") symbol

Subject: Re: [Haskell-cafe] What is the meaning of tilde ("~") symbol
From: Jake Wheat
Date: Sun, 14 Feb 2010 22:00:02 +0000
On 14 February 2010 16:02, Henk-Jan van Tuyl <hjgtuyl@xxxxxxxxx> wrote:
> The symbols that are not specified in a library can be found here:
>  http://www.haskell.org/haskellwiki/Keywords
> Hoogle used to show links to this page, when a keyword was searched, but not
> anymore.

In section 5 ! on this page it says

> Finally, it is the array subscript operator:
>
> let x = arr ! 10

Shouldn't this be

let x = arr !! 10

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

<Prev in Thread] Current Thread [Next in Thread>