infix
A Clojure library for expressing LISP expressions as infix rather than prefix notation (by rm-hull)
tools.macro
Utilities for macro writers (by clojure)
Our great sponsors
infix | tools.macro | |
---|---|---|
4 | 1 | |
101 | 114 | |
- | 0.0% | |
6.9 | 5.3 | |
3 months ago | 2 months ago | |
Clojure | Clojure | |
MIT License | 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.
infix
Posts with mentions or reviews of infix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-20.
- Clojure conventions for writing complicated mathematical calculations?
-
I was getting tired of writing parens for simple math so I made a function for it. Is there a better way to write basic math without as many parentheses in Clojure?
Clojure does not have anything like that. But I've people implement some sort of infix macro like this one https://github.com/rm-hull/infix
-
Tips for learning prefix notation?
If you are working with complex stuff, it might be useful to leverage existing infix macros like rm-hull/infix.
-
Is it possible to redefine existing Clojure syntax with macros?
(Such as: https://github.com/rm-hull/infix)
tools.macro
Posts with mentions or reviews of tools.macro.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-10.
-
Is it possible to redefine existing Clojure syntax with macros?
This is a pretty naive case, and the context extension is limited to the scope of the macro, rather than changing the rules of clojure itself. There are other libraries like clojure.tools.macro with macrolet and symbol-macrolet that facilitate this style (although I couldn't get them working with if in particular, I think because of clojures protection of special forms).
What are some alternatives?
When comparing infix and tools.macro you can also consider the following projects:
math.numeric-tower - Math functions that deal intelligently with the various types in Clojure's numeric tower
calcit - Indentation-based ClojureScript compiling to JavaScript ES Modules