optional (), what is done elsewhere

Jonathan M Davis jmdavisProg at gmx.com
Mon Feb 4 10:50:46 PST 2013


On Monday, February 04, 2013 16:26:37 Timon Gehr wrote:
> > ...
> > And there are no parens on functions in haskell of any kind to begin
> > with. The syntax isn't C-like at all.
> > ...
> 
> s x y z = ((x z) (y z)) -- note the parens

Which aren't doing function calls. They're only applying precedence.

- Jonathan M Davis


More information about the Digitalmars-d mailing list