On 2007 Mar 29, at 12:26 AM, Nicolas Frisby wrote:
I don't think that

aName =
 [ x
 , y
 , z
 ]

can be beat for adaptability (i.e. adding/removing/reorganizing
results or _especially_ renaming the declaration). Doesn't do so hot
regarding vertical space though...

IMHO (just as IYHO above), this cannot be beat:

aName = [
        x ,
        y ,
        z ,
        ]

is perfect. though there are many variations on where 'x ,' is placed relative to the opening square bracket. But... it requires that trailing commas be treated uniformly in the syntax, which they aren't right now. (The above would be legal Python code, so yes, my claim is hypothetical only its application to Haskell.)

        --Doug

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to