Software Assurance Reference Dataset

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 22 14:23:31 PDT 2014


On 07/22/2014 09:42 PM, Walter Bright wrote:
>>
>> On overall I prefer D over Haskell, but if you want to criticize
>> Haskell you
>> need much much better arguments and way bigger cannons :-)
>
> The point was not at all to criticize Haskell. The point was that D does
> not need tail recursion because D supports writing loop constructs.

Tail call support is still useful. Looping is not the main reason for 
supporting tail calls. Eg. a tail call might be indirect and only 
sometimes recurse on the same function and sometimes call another function.

> Showing how loops could be written using awkward

The point is not to criticize? :-)

> monads  in Haskell that
> Haskell programmers wouldn't write does not change that point.

Sure, that part of the discussion grew out of the claim that there are 
"no loops" there.


More information about the Digitalmars-d mailing list