What does HackerNews think of farolero?

Thread-safe Common Lisp style conditions and restarts for Clojure(Script).

Language: Clojure

True, the CL REPL is more useful than the Clojure REPL, but CL has a 20-30 year head start in development. Plus, Clojure was developed as a hosted language, and runs on .NET, Javascript, JVM, and even Dart (in-progress).

Since exceptions are quite deeply integrated into those platforms (as opposed to conditions), it has "bled through" to the Clojure APIs, and, in turn, REPL.

Folks have written a CL-style condition/restart library for Clojure (https://github.com/IGJoshua/farolero) too. https://www.youtube.com/watch?v=zp0OEDcAro0 video too.

Someone added conditions/restarts to Clojure: https://github.com/IGJoshua/farolero

It does allow errors to be caught by the Repl and choose how to handle them.

Honestly though, I haven't found the interactive restarts at the REPL useful. It's way faster to just re-evaluate the code again.

Maybe in CL they are more useful because the language is full of mutation? I can't say, I've only ever done Clojure and Emacs Lisp, but in Clojure I tried that library, and found picking options at the REPL to handle the condition was more laborious than just fixing whatever or adding a catch and pressing Ctrl+Enter again.

For people who want to get a more CL-like debugging setup on Clojure, there is a CL-style condition system available as a library.

https://github.com/IGJoshua/farolero/

This is interesting tool[1] that allows much the same with Clojure

[1]: https://github.com/IGJoshua/farolero