The attached modeswitch_closures.patch introduces {$modeswitch Closures}; it is included in {$mode Delphi}.
There is a distinction between anonymous routines (defined in-place, without a name) and closures (capture the context they are invoked with). The switch encompasses both, but goes for the shorter and catchier name.
βþ
