~ patterns

John Meacham john at repetae.net
Tue Jan 31 19:47:06 EST 2006

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

John Meacham - ⑆repetae.net⑆john⑈ 

More information about the Haskell-prime mailing list