Wanted: warning option for usages of unary minus

Taral taralx at gmail.com
Thu May 17 20:03:45 EDT 2007


On 5/17/07, Joseph H. Fasel <jhf at lanl.gov> wrote:
> *Sigh*  The problems with unary minus were discussed in the dim mists of
> time before we published the first Haskell report.  We considered then
> using a separate symbol for unary negation (as does APL, for example),
> but (IIRC) this was regarded as unfriendly to Fortran programmers.

[breaking cc list]

Would this kind of thing be eligible for Haskell'? I never had a
problem with _1 in APL-type languages... and I think it's best to be
very clear about intent.

-- 
Taral <taralx at gmail.com>
"Please let me know if there's any further trouble I can give you."
    -- Unknown


More information about the Haskell-prime mailing list