Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2019 (4)
20082026
  1. …that works (defmacro infix [a op b] `(~op ~a ~b)) There are libraries for that too. Clojure: https://github.com/rm-hull/infix
  2. …really want that. It even supports symbols like "√", unlike any other language I can think of! [1]: https://github.com/rm-hull/infix
  3. …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…
  4. …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
  5. …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