Package: ghc6
Version: 6.8.2-7
Severity: wishlist

Consider cases like this:

let foo = (
        value1,
        value2,
        value3
    )

Adding a new field to this requires adding a comma to the last item.
Removing the last field from this requires removing the comma from the
preceding line.  To make this easier, why not allow a trailing comma:

let foo = (
        value1,
        value2,
        value3,
    )

With this syntax, adding and removing fields does not require changing
other lines.  This makes it easier to get the syntax right, and avoids
noise in diffs.

The same argument applies to tuples, lists, module import/export lists,
deriving clauses, and any other comma-separated syntax.

- Josh Triplett

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ghc6 depends on:
ii  gcc                       4:4.3.2-2      The GNU C compiler
ii  haskell-utils             1.11           Utilities used by the Debian Haske
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libgmp3-dev               2:4.2.2+dfsg-3 Multiprecision arithmetic library 
ii  libgmp3c2                 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii  libncurses5               5.7+20090105-1 shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libreadline5-dev          5.2-3          GNU readline and history libraries
ii  perl [perl5]              5.10.0-19      Larry Wall's Practical Extraction 

ghc6 recommends no packages.

Versions of packages ghc6 suggests:
pn  ghc6-doc                      <none>     (no description available)
pn  ghc6-prof                     <none>     (no description available)
pn  haskell-doc                   <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to