Continuations in D?

David Medlock noone at nowhere.com
Mon Feb 20 07:38:33 PST 2006


David Medlock wrote:

<snip>
> -DavidM


As a quick follow up, the D foreach syntax is a CPS construct.  The code 
within the braces below the foreach *is* a continuation.   That is why 
the opApply accepts a delegate.

-DavidM



More information about the Digitalmars-d mailing list