haskell-cafe@haskell.org
[Top] [All Lists]

[Haskell-cafe] Re: Re: monad subexpressions

Subject: [Haskell-cafe] Re: Re: monad subexpressions
From: Chris Smith
Date: Thu, 2 Aug 2007 22:24:01 -0600
Derek Elkins <derek.a.elkins@xxxxxxxxx> wrote:
> > ( <- expr )   -- makes sense, and I think it's unambiguous
> > ``expr``      -- back-ticks make sense for UNIX shell scripters

> The latter is not sensible to me at all.  It doesn't nest well.

Ah, excellent point!  Okay, it's gone then.  Everything will then need 
some kind of bracketing -- (), [], or {}.  I dislike [] out of hand, 
simply because this has nothing to do with lists.

> Neither does the former for that matter, but it forces parenthesizing.

I'm unclear on whether you still have an objection, given that yes it 
does force parenthesizing.

-- 
Chris Smith

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

<Prev in Thread] Current Thread [Next in Thread>