Donald Bruce Stewart wrote:
> Looks pretty good, though you use 
> 
>     case x :: Bool of
>         True  -> ...
>         False -> ...
> 
> when
>     if x then ... else ...
> 
> would be preferred.

Why?  Personally, I find boolean case to feel better wrt layout and I see
no loss of clarity in its use.

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

Reply via email to