This is exciting! I'll keep this in my back pocket next time I need to map a static Java method over a collection.
Does this addition also make it possible to keep a Java instance method in a map to call later?
That's not a good way to explain it. But I'm thinking of how Malli schemas can have a map of options like {:encode/json name}
.
With this addition, could I do {:encode/json .toString}
where previously I'd need to wrap it with an anonymous function?
Such a simple, silly, and really funny comic. I can imagine this as a segue or scene change in Bojack Horseman.