Are pattern guards obsolete?
iavor.diatchki at gmail.com
Wed Dec 13 12:33:30 EST 2006
I am not clear why you think the current notation is confusing...
Could you give a concrete example? I am thinking of something along
the lines: based on how "<-" works in list comprehensions and the do
notation, I would expect that pattern guards do XXX but instead, they
confusingly do YYY. I think that this will help us keep the
On 12/13/06, Yitzchak Gale <gale at sefer.org> wrote:
> Philippa Cowderoy wrote:
> > This is what I get for replying straight away!
> Oh, no, I'm happy that you responded quickly.
> > I think my point is that I'm not aware of many people
> > who actually think this is a problem or get confused.
> Well, I don't mean that this is something that experienced
> Haskell programmers will stop and scratch their heads
> But the more of these kinds of inconsistencies you have,
> the worse it is for a programming language. The effect
> is cumulative. When there are too many of them, they make
> the language feel heavy, complex, and inelegant. They
> increase the number of careless errors. They put
> off beginners.
> Haskell-prime mailing list
> Haskell-prime at haskell.org
More information about the Haskell-prime