On 12/9/20 11:10 AM, Vern Paxson wrote:
For the script optimization/compilation work I’ve been doing, I’ve been looking into what it will take to compile lambdas (anonymous functions).
I think the current functionality would be better, since it's how I'd expect it to behave (which probably just reflects my bias toward procedural languages). That said, since Zeek only gained support for closures relatively recently there's likely little precedent, and there's a way out via records. So I'd be okay with it.
It'd be good to explore whether Zeek could warn if the change affects existing code. Not sure how feasible that is...
Hth, Christian _______________________________________________ zeek-dev mailing list -- zeek-dev@lists.zeek.org To unsubscribe send an email to zeek-dev-le...@lists.zeek.org