sci
sci copied to clipboard
clojure 1.12 interop on static or member methods
trafficstars
Since Clojure 1.12, Classname/member may refer to both static and instance members. When an instance method is specified, the instance should be provided after the member and before the args.
(https://github.com/clojure/clojure-site/compare/master...1.12-doc-updates#files_bucket)
Example: (sci/eval-string "(map Integer/parseInt [\"1\", \"2\"])") (not yet working)
Relevant tests are here: https://github.com/clojure/clojure/blob/master/test/clojure/test_clojure/method_thunks.clj