core.match
An optimized pattern matching library for Clojure (by clojure)
defun
A macro to define clojure functions with parameter pattern matching just like erlang or elixir. (by killme2008)
core.match | defun | |
---|---|---|
6 | 1 | |
1,172 | 465 | |
-0.1% | - | |
5.2 | 5.2 | |
about 2 months ago | 7 months ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | Eclipse Public License 1.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
core.match
Posts with mentions or reviews of core.match.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-03.
-
Compiling Pattern Matching
IIRC luc maranget's paper was also a basis to clojure/script core.match
ps: checked https://github.com/clojure/core.match/wiki/References
-
Adding Dependencies on Clojure Project the Node Way: A Small Intro to neil CLI
If you take a look a this library which is an "official" library you will find three snippets of code for adding the dependency to your project and some with a very strange syntax.
-
Why Lisp?
I think Clojure has benefited from matching being kept out of the built-in stdlib. https://github.com/clojure/core.match is a plug-in and as a result we've had lots of cool data traversal/matching DSLs come around and evolved user communities with time such as Meander and Datascript not to mention the parsing applications of the schema systems (spec & malli).
- Core.match
-
Elixir Protocols vs. Clojure Multimethods
Why not just use core.match? https://github.com/clojure/core.match
defun
Posts with mentions or reviews of defun.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-17.
What are some alternatives?
When comparing core.match and defun you can also consider the following projects:
meander - Tools for transparent data transformation
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
protocol_ex - Elixir Extended Protocol
stack - My stack for new products.
fib - Performance Benchmark of top Github languages
clojerl - Clojure for the Erlang VM (unofficial)