[Haskell-cafe] About ($)

Graham Klyne GK at ninebynine.org
Sun Jun 5 05:11:21 EDT 2005


At 20:53 02/06/05 +0200, Frank-Andre Riess wrote:
>So, well, my first question on this list is admittedly somewhat simple, but I
>managed to delay it long enough and now I think I should ask about it: Does
>($) have any relevance at all except for being a somewhat handier version of
>parentheses?

In addition to the other responses, I add this:

The section expression ($v) -- for some value v appropriate appropriate to 
the source code context -- is sometimes very useful.

(I think the other feature -- lower precedence of $ w.r.t normal function 
application -- is covered by your question.)

#g


------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact



More information about the Haskell-Cafe mailing list