[Haskell-cafe] A wish for relaxed layout syntax

Nicolas Frisby nicolas.frisby at gmail.com
Thu Mar 29 00:26:29 EDT 2007


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...

On 3/28/07, Greg Buchholz <haskell at sleepingsquirrel.org> wrote:
> David House wrote:
> > I see this a lot. My personal preference is:
> >
> > mylist =
> >  [ foo, bar, baz,
> >    qux, quux, foo,
> >    bar, baz, qux ]
>
>  Or,
>
>    mylist = [foo, bar , baz,
>              qux, quux, foo,
>              bar, baz , qux]
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list