On Mon, Oct 26, 2009 at 6:08 AM, Magicloud Magiclouds
<magicloud.magiclo...@gmail.com> wrote:
> Ah, I see.
> The reason I have to use my style is the same as others: the list is
> too long....

You don't have to put everything on the same line, you just have to
indent the rest of the pattern a bit more than the first line :

> case bala of
>  [ bala
>    , bala
>    , bala ] -> bala bala bala
>  _ -> bala

-- 
Jedaï
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to