19 April 2024
Alex Miller
Welcome to the Clojure Deref! This is a weekly link/news roundup for the Clojure ecosystem (feed: RSS). Thanks to Anton Fonarev for link aggregation.
We have three big chunks of work remaining for 1.12. The first one, reworking the symbolic array type representation is complete and captured in CLJ-2807. That will roll back the previous implementation added in alpha6 and replace it with a new representation. Array symbols will have the syntax ComponentType/dimension
, eg String/1
or long/2
. More to say on that when we release.
The second piece is reworking the method value, qualified methods, and param-tags implementation. The big picture is that qualified methods withparam-tags must resolve to a single method (no change there), and that qualified methods without param-tags will otherwise support fully reflective invocation (as method values, in all arities).
Additionally, we’re going to alter the syntax of qualified instance methods (Classname/.method) to make them distinct from static methods (Classname/method, as always), and constructors will continue to be Classname/new. There are existing cases in the JDK (Double.isNaN() for example) that have both static and instance methods that overlap in effective arity (instance methods take the instance object as first "arg"). Method values without param-tags have no way to differentiate between these and that was causing a lot of pain in the implementation. This work is nearing completion.
The final piece is functional interface conversion. While the hard parts are mostly done, there are some gnarly bits in optimizing method values passed as FIs (avoiding intermediate thunks or converters) but also getting close on this. At an interim point this week I ran some wide regression testing against community projects and found a few interesting cases, some were actual latent bugs, some drove some refinments. This is critical work in making this a clean release that does not break existing code, but it takes time.
Have been working on Clojure/Conj stuff too, hoping to get info about CFP, tickets, and sponsorship out in the next month.
52: Coding in YAML with Ingy döt Net - The REPL
What’s That Function? clojure.core - conj peek and pop - What’s That Function
Learn Clojure – Starting with Clojure spec - Clojure Diary
Launching Columns for Tablecloth - Ethan Miller
Heart of Clojure 2.0 - Arne Brasseur (Gaiwan)
Clojurists Together project - Scicloj community building - March 2024 update - Daniel Slutsky
YAMLScript Spring Update - Ingy döt Net
Composing Caches - Sagar Vrajalal
New releases and tools this week:
clj-mergetool 0.4.3 - smarter git mergetool for clojure and edn
milvus-clj 0.2.1 - Clojure libraray for Milvus
testify 0.4.0 - Running clojure code comments
oksa 0.1.0 - Generate GraphQL queries using Clojure data structures
fully-satisfies 1.10.4 - Utility functions for Clojure
hl7v2 0.0.1-SNAPSHOT - Hl7v2 Clojure lib
clj-reload 0.5.0 - Smarter way to reload Clojure code
flow-storm-debugger 3.15.2 - A debugger for Clojure and ClojureScript with some unique features
zero 0.1.7 - Build web components in ClojureScript
calva 2.0.443 - Clojure & ClojureScript Interactive Programming for VS Code
tablecloth 7.029.2 - Dataset manipulation library built on the top of tech.ml.dataset
telemere v1.0.0-beta1 - Structured telemetry library for Clojure/Script
automigrate 0.3.3 - 🤖 Auto-generated database migrations for Clojure
cherry 0.1.17 - Experimental ClojureScript to ES6 module compiler
overarch 0.15.1 - A data driven description of software architecture based on UML and the C4 model
clojure-mode 0.3.2 - Clojure/Script mode for CodeMirror 6
babashka 1.3.190 - Native, fast starting Clojure interpreter for scripting
datalevin 0.9.5 - A simple, fast and versatile Datalog database
http-client 0.4.18 - HTTP client for Clojure and Babashka built on java.net.http
instaparse-bb 0.0.4 - Use instaparse from babashka