On Sunday 14 February 2010 17:02:36 Henk-Jan van Tuyl 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.
This isn't Haskell 98 only, is
Hi
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.
And that's a bug:
http://code.google.com/p/ndmitchell/issues/detail?id=280 (that I only
Hi,
The symbols that are not specified in a library can be found here:
http://www.haskell.org/haskellwiki/Keywords
I noticed that \ is not in that list, should it be?
Patrick
--
=
Patrick LeBoutillier
Rosemère, Québec, Canada
Hi Patrick,
The symbols that are not specified in a library can be found here:
http://www.haskell.org/haskellwiki/Keywords
I noticed that \ is not in that list, should it be?
Yes! Add it. If it would help a beginner understand what something
means, it should be on that list.
Thanks, Neil
Here's an idea... maybe we should make a small page on the Wiki
explaining what all the various symbols in Haskell mean?
There are a couple which are rare enough that most tutorials don't
mention them that often. And there are of course symbols which mean
different things in different
I like that idea. When I was first learning Haskell, I remember
spending a non-trivial amount of time trying to figure out what '$'
did. I incorrectly assumed that it was provided by some library. '!'
and '~' would certainly be other good candidates for this kind of a
page. These types of
MightyByte wrote:
I like that idea. When I was first learning Haskell, I remember
spending a non-trivial amount of time trying to figure out what '$'
did. I incorrectly assumed that it was provided by some library.
Technically, it is...
'!'
and '~' would certainly be other good
On Sun, Feb 14, 2010 at 8:39 AM, Andrew Coppin
andrewcop...@btinternet.com wrote:
MightyByte wrote:
I like that idea. When I was first learning Haskell, I remember
spending a non-trivial amount of time trying to figure out what '$'
did. I incorrectly assumed that it was provided by some
On Sun, Feb 14, 2010 at 09:00:14AM -0500, MightyByte wrote:
At any rate, they still don't help for things like '~', so
there's definitely a use for a wiki page like this.
Of course, Hoogle and Hayoo could be modified to show the docs
when such symbols are searched as a special condition.
--
On Sun, 14 Feb 2010 14:24:03 +0100, Andrew Coppin
andrewcop...@btinternet.com wrote:
Here's an idea... maybe we should make a small page on the Wiki
explaining what all the various symbols in Haskell mean?
There are a couple which are rare enough that most tutorials don't
mention them
And, I've search the meaning of the symbol ~, but I've found nothing about
this (note that's not easy to search ~ on google ...)
Searching for haskell tilde produces a lot of results and they're
all relevant (on the first page at least).
D
___
Henk-Jan van Tuyl wrote:
The symbols that are not specified in a library can be found here:
http://www.haskell.org/haskellwiki/Keywords
Ah, nice. It seems somebody else has already thought of this.
Also, I read this page and discovered something new within about 30
seconds. (Pattern
On 14 February 2010 16:02, Henk-Jan van Tuyl hjgt...@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
Finally, it is the array subscript operator:
let x = arr ! 10
Shouldn't this be
let x = arr !! 10
!! is the list subscript. Look in Data.Array.IArray for (!). Or Data.Map.
There's still no consensus on typeclasses for collections, so these
are all separate functions. Has anyone taken a
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
On 14 February 2010 22:11, Evan Laforge qdun...@gmail.com wrote:
Finally, it is the array subscript operator:
let x = arr ! 10
Shouldn't this be
let x = arr !! 10
!! is the list subscript. Look in Data.Array.IArray for (!). Or Data.Map.
There's still no consensus on typeclasses for
On 14 February 2010 22:11, Evan Laforge qdun...@gmail.com wrote:
There's still no consensus on typeclasses for collections, so these
are all separate functions. Has anyone taken a shot at a set of
AT-using classes for the standard collections?
The standard collections have different shapes
On Sun, Feb 14, 2010 at 2:22 PM, Stephen Tetley
stephen.tet...@gmail.com wrote:
On 14 February 2010 22:11, Evan Laforge qdun...@gmail.com wrote:
There's still no consensus on typeclasses for collections, so these
are all separate functions. Has anyone taken a shot at a set of
AT-using
Hi Evan
Singleton (aka wrap) would be nice - isn't it called Pointed in the
typeclassopedia but not otherwise existent? I suppose its missing by
historical accident rather than design.
I frequently use Semigroup (append but no zero) - there is one on
Hackage without any instances:
Stephen Tetley wrote:
Hi Evan
Singleton (aka wrap) would be nice - isn't it called Pointed in the
typeclassopedia but not otherwise existent? I suppose its missing by
historical accident rather than design.
I frequently use Semigroup (append but no zero) - there is one on
Hackage without
I'm no fan of (!!) on lists or other containers where it isn't O(1),
but lookup/member are a bit more promising. However are there any
useful derived operations or constructions that can be defined only in
terms of a Lookup type class? For comparison, Monoid has mconcat as a
derived op and
Hi,
I'm reading the following subject :
http://www.haskell.org/pipermail/haskell-cafe/2007-July/028227.html
In the sample code, we can see :
instance ReadAsAnyOf () ex
where readAsAnyOf ~() = mzero
And, I've search the meaning of the symbol ~, but I've found nothing
about this (note
22 matches
Mail list logo