6
Method Values
(clj.social)
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?
Clojure is a Lisp that targets JVM and JS runtimes
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms