This one weird trick allows you to capture loop variables.

Walter Bright newshound2 at digitalmars.com
Sun Oct 20 02:29:53 UTC 2024


I'm a bit sorry I implemented opApply. The conversion of the loop body to a 
lambda is a tricky beast, and in general such complex rewrites are not a good 
idea. The language should be straightforward.



More information about the Digitalmars-d mailing list