~ patterns

isaac jones ijones at galois.com
Tue Jan 31 19:57:02 EST 2006


On Tue, 2006-01-31 at 16:47 -0800, John Meacham wrote:
> On Wed, Feb 01, 2006 at 11:32:28AM +1100, Patryk Zadarnowski wrote:
> > On 31/01/2006, at 9:31 PM, Simon Marlow wrote:
> > 
> > >We must find *something* to throw away though! :-)
> > 
> > One small issue that I'd love to see thrown away is the special  
> > handling the the unary "-"
> > operator in Haskell 98. It's been described as "embarrassing",  
> > "ugly", and even "inconvenient"
> > I, for one, find myself creating sections of the form `+ (-x)` all  
> > the time, and it feels wrong.
> > What do people think?
> 
> yeah, I really want to see this change too. I think it would be a whole
> lot nicer. plus, a syntax highlighting editor would be able to determine
> the difference between - used as an operator and - used as part of a
> number.

Would one of you make sure that these pros & cons are reflected in this
ticket or the linked wiki page:
http://hackage.haskell.org/trac/haskell-prime/ticket/50

peace,

  isaac



More information about the Haskell-prime mailing list