[Haskell-cafe] A wish for relaxed layout syntax

David House dmhouse at gmail.com
Wed Mar 28 17:09:52 EDT 2007


On 28/03/07, Steve Schafer <steve at fenestra.com> wrote:
> Another alternative:
>
>  mylist =
>    [ quite_lengthy_list_item_number_one
>    , quite_lengthy_list_item_number_two
>    , quite_lengthy_list_item_number_three
>    ]

I see this a lot. My personal preference is:

mylist =
  [ foo, bar, baz,
    qux, quux, foo,
    bar, baz, qux ]

-- 
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list