[External] : Re: Scope Locals

Andrew Haley aph at redhat.com
Tue May 11 10:16:55 UTC 2021


On 4/27/21 9:47 PM, Jack Firth wrote:
> 
> ScopeLocal.with(x, expr1)
>            .with(y, expr2)
>            .run(() -> ...);

can you not do

ScopeLocal
    .with(x, expr1)
    .with(y, expr2)
    .run(() -> ...);

?

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the loom-dev mailing list