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?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Clojure

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • indent-clj

    A little experiment into how Clojure with inferred paren might look like

    I noticed this project: https://github.com/boxed/indent-clj

  • infix

    A Clojure library for expressing LISP expressions as infix rather than prefix notation

    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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • calcit

    Lisp compiling to JavaScript ES Modules

    Well, I got myself a script language https://github.com/calcit-lang/calcit_runner.rs/blob/main/calcit/snapshots/test-math.cirru#L11 .

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts