2 ms·
I have a macro in my personal library called BINDING-BLOCK that eliminates many (though not all) of the parens in common code idioms: https://github.com/rongar
by lisper 3y ago
I have a macro in my personal library called BINDING-BLOCK that eliminates many (though not all) of the parens in common code idioms:
https://github.com/rongarret/ergolib/blob/master/core/binding-block.lisp https://github.com/rongarret/ergolib/blob/master/core/bindin...
It's also helpful in preventing code from crawling off the right side of the screen.
However, like many of the sibling comments point out, if you think getting rid of the parens entirely is desirable then you have missed the point, which is that Lisp code is not text, it's a data structure, a linked list, and the textual representation of the code is just a serialization of that data structure. And the most straightforward way to serialize a linked list is with delimiters at the start and end, like so:
(1 2 3)