rm-hull/infix
View on GitHub ↗ ★ 113 Clojure
A Clojure library for expressing LISP expressions as infix rather than prefix notation
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2017-08-03 · latest 2019-06-28
20082026
-
…that works (defmacro infix [a op b] `(~op ~a ~b)) There are libraries for that too. Clojure: https://github.com/rm-hull/infix
comment by GorgeRonde · 2019-06-28 · in A general-purpose probabilistic programming system with programmable inference -
…really want that. It even supports symbols like "√", unlike any other language I can think of! [1]: https://github.com/rm-hull/infix
comment by ken · 2019-04-23 · in Why did Clojure gain so much popularity? -
…uses infix notation with reader macros(`#I`) or a Clojure tutorial that uses the infix package( https://github.com/rm-hull/infix ). It will be great to beginners because 1. they wouldn't be scared of prefix notation and 2. it shows (a part…
comment by pcr910303 · 2019-04-04 · in Cog: Use pieces of Python code as generators in your source files -
…exist too. There is also the idea of processing math expressions infix as expected when desired. https://github.com/rm-hull/infix ($= 3 + 5 * 8) ; => 43
comment by michaelmrose · 2019-03-16 · in Why Operators Are Useful -
…some sort of threading macro anyway [2], such as -> mthomas suggested in one of the responses. [1] https://github.com/rm-hull/infix [2] https://clojure.org/guides/threading_macros
comment by a-saleh · 2017-08-03 · in Hy – A Lisp-flavored Python