Are pattern guards obsolete?

Philippa Cowderoy flippa at flippac.org
Tue Dec 12 22:31:08 EST 2006


On Wed, 13 Dec 2006, Yitz Gale wrote:

> Donald Bruce Stewart <dons at ...> writes:
> > The joy of pattern guards
> > reveals once you have more conditions.
> 
> Of course, this is not really the joy of
> pattern guards. It is the joy of monads,
> with perhaps a few character strokes
> saved by a confusing overloading of (<-).
> 

I don't find it any more confusing than the overloading of ->. Note that 
it's not (<-) - it's not an operator.

-- 
flippa at flippac.org

Sometimes you gotta fight fire with fire. Most
of the time you just get burnt worse though.


More information about the Haskell-prime mailing list