|
|
|
|
|
by thom
4104 days ago
|
|
It's worth clarifying that macros differ from functions in clojure in some pretty important ways, most obviously that you can't take their value - you can't (map macro coll) etc, which to me at least is a regular frustration. That aside, clojure.core.match is implemented pretty much as you describe: https://github.com/clojure/core.match/wiki/Extending-match-f... I too was a bit confused about what the article was getting at. |
|