What are common mistakes or unidiomatic patterns you see beginners write in lisp ?

This page summarizes the projects mentioned and recommended in the original post on /r/lisp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • lisp-critic

    The Lisp Critic scans your code for instances of bad Lisp programming practice.

  • You can find examples here: https://github.com/g000001/lisp-critic (lisp-rules.lisp) and to a smaller extent, here: https://github.com/vindarel/colisper (src/catalogue directory). The lisp-critic is available by default on this custom readline REPL: https://ciel-lang.github.io/CIEL/#/repl?id=friendly-lisp-critic so it can be tried at the terminal (in conjunction with the %edit command). It would be nice if it had better editor integration though. (it shouldn't be too hard, there's one function (critique-file pathname) to call on a file).

  • colisper

    Check and transform Lisp code with Comby (beta)

  • You can find examples here: https://github.com/g000001/lisp-critic (lisp-rules.lisp) and to a smaller extent, here: https://github.com/vindarel/colisper (src/catalogue directory). The lisp-critic is available by default on this custom readline REPL: https://ciel-lang.github.io/CIEL/#/repl?id=friendly-lisp-critic so it can be tried at the terminal (in conjunction with the %edit command). It would be nice if it had better editor integration though. (it shouldn't be too hard, there's one function (critique-file pathname) to call on a file).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • hiccup

    Fast library for rendering HTML in Clojure

  • Another time macros are necessary is when you want to implement some kind construct with new syntax, or a DSL of some sort. Examples would be providing some kind of infix macro to allow infix math expressions, Clojure's hiccup library which provides a html DSL that convers Clojure expressions into valid HTML, and even small stuff like prettify-utils-generate in the small elisp library I made for prettify-symbols-mode to make it it giving it a list of string/replacement string pairs cleaner to manage in init.el files. I mention the last one because it's specifically a very small syntax tweak, just taking unquoted list pairs without attempting to evaluate them, that still needs a macro to exist because that isn't typically possible.

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

  • Clojure Bites - Render HTML, introducing selmer template library

    2 projects | /r/Clojure | 8 Jun 2023
  • Show HN: Programming Google Flutter with Clojure

    14 projects | news.ycombinator.com | 1 Dec 2022
  • [how to] Generate server-side HTML

    3 projects | /r/purescript | 1 Aug 2022
  • Hiccup: Fast library for rendering HTML in Clojure

    1 project | news.ycombinator.com | 7 Jun 2022
  • Using scittle to solve wordle

    6 projects | dev.to | 18 Apr 2022