Private default arguments?
bearophile
bearophileHUGS at lycos.com
Sun Dec 30 03:49:15 PST 2012
Jonathan M Davis:
> AFAIK, not even functional languages where recursion is what
> you always do have anything like what you're suggesting.
> ...
> And this is coming from someone who used to program in haskell
> quite a bit.
The little enhancement request discussed here requires default
arguments.
Function languages like Haskell don't have default arguments
(despite there are some ways to have them
http://neilmitchell.blogspot.it/2008/04/optional-parameters-in-haskell.html
), so you can't compare well the two situations.
Bye,
bearophile
More information about the Digitalmars-d
mailing list