Why does `ScopedValue.where(SCOPE_VALUE, val).call()` throw Exception?
Alan Bateman
Alan.Bateman at oracle.com
Sat Mar 25 09:15:12 UTC 2023
On 24/03/2023 21:58, Andrew Haley wrote:
> On 3/24/23 13:23, Josiah Noel wrote:
>> It would be the same as call, except that it takes a supplier as an
>> input
>> and returns the supplier's result.
>
> Ah, I see. That makes sense.
>
Yes, although it would require a different method name, otherwise usages
with lambda expressions would be ambiguous.
-Alan
More information about the loom-dev
mailing list