On Mon, Feb 19, 2007 at 11:16:03AM +0000, Malcolm Wallace wrote:
> And it now occurs to me that perhaps something different was
> intended.  The following is legal H'98:
> 
>     case whatever of
>     Cons -> bluh
>     Nil  -> foo
> 
> But stick it in a do block and it ceases to be accepted:
> 
>     do case whatever of
>        Cons -> bluh
>        Nil  -> foo

No, that's a separate issue: NondecreasingIndentation.

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

Reply via email to