optional (), what is done elsewhere

Timon Gehr timon.gehr at gmx.ch
Mon Feb 4 07:27:51 PST 2013


On 02/04/2013 04:26 PM, Timon Gehr wrote:
> On 02/04/2013 09:01 AM, Jonathan M Davis wrote:
>> On Monday, February 04, 2013 04:34:32 deadalnix wrote:
>>> 3/ Haskell
>>>
>>> In haskell, all functions are pure, which make the conflation
>>> between the function and its result possible in an unambiguous
>>> manner.
>>
>> Haskell doesn't even really have variables per se.
>
> That is inaccurate.
>
>> It's more like they're functions with no arguments.
>
> A lambda function always has exactly one argument.
>

s/argument/parameter/g

>> ...
>> 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
>
>



More information about the Digitalmars-d mailing list