> Would it be possible to make a hugs build time option to break with the
> haskell report and allow lists that are written as
>
> [1,2,3,] as well as [1,2,3]
This is allowed with import/export lists at the moment so there's some
precedent.
OTOH, we currently use (,) to mean something quite different from ()
and there was a proposal to make (1,) mean the same as (,) 1. If the
proposal was accepted, we'd possibly want to make [1,] be a partial
application too. (One can make a reasonable argument against such a
proposal - it makes it easy for students to accidentally wander into
dangerous water.)
> (I'm possibly slightly abusing the list, but no-one reads hugs-users!)
Which reminds me: it'd probably be a good idea to add hugs-bugs to the
hugs-users list and remove (from hugs-users) all the people who would
then receive two copies.
--
Alastair Reid