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

Jake Wheat jakewheatmail at googlemail.com
Sun Feb 14 17:00:02 EST 2010


On 14 February 2010 16:02, Henk-Jan van Tuyl <hjgtuyl at chello.nl> 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

?


More information about the Haskell-Cafe mailing list