groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: How to determine the equality of two closures?
Date Thu, 13 Apr 2017 19:14:08 GMT
On 13.04.2017 18:03, Winnebeck, Jason wrote:
> That's cool, so that defines lastValue as a field of the actual closure class?

yes, you can do it with a combination of additional parameter and curry 
as well of course.

> The issue with using a field is the watch not using the map would fail when performing
multiple watches:

ok, that changes things

bye Jochen

View raw message