Calling anonymous delegate recursively ?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Jan 8 10:14:55 PST 2011


On 1/8/11, Stewart Gordon <smjg_1998 at yahoo.com> wrote:
> On 08/01/2011 17:40, Andrej Mitrovic wrote:
> <snip>
>> Otherwise I'd really like the ability for a lambda to call itself.
>> Perhaps a feature request is in order.
>
> I'm not sure what D would gain in practice.  If you want a function that
> calls itself, why not just name the function?
>
> Stewart.
>

I don't know. Perhaps it would be useful in generics..


More information about the Digitalmars-d-learn mailing list