News for hackers. Stuff that matters.
Re:Differences with other Lisps by bjoli on Wednesday November 03, 2021 @03:46AM (#29092052)
Only R6RS made () and [] interchangeable. That was hugely controversial, with opponents (myself included) thinking it was a waste of 1/3 of the matching pair symbols.

And the suggested use was not quite the syntax you showed: http://www.r6rs.org/final/html/r6rs-app/r6rs-app-Z-H-5.html

Re:Differences with other Lisps by deckard1 on Wednesday November 03, 2021 @04:29AM (#29092247)
Scheme reports lag, though. They usually codify what existing Scheme compiler/interpreters are already doing. I know I've seen plenty of Scheme code in the wild using square brackets interchangeably long before R6RS came out. You can even see the rationale behind this in the Scheme FAQ on Scheme Wiki, which seems to not have been updated since R5RS was current [1]

[1] http://community.schemewiki.org/?scheme-faq-language#H-yoyi8...

Re:Differences with other Lisps by lispm on Wednesday November 03, 2021 @07:42AM (#29093339)
The use of square brackets in Lisp and Scheme is much older. IIRC there were Scheme books which used them much earlier.

Interlisp also for example uses square brackets. The left square bracket is equivalent to a round bracket and the right square bracket closes all open levels of brackets.

Re:Differences with other Lisps by patrec on Wednesday November 03, 2021 @04:26AM (#29092231)
I fully agree (and thanks for the idiomatic let bracket ordering correction). But the fact that terribly hacks like this are nonetheless adopted shows how much of a pain the paren clutter is and that claims to the contrary are pure cope.
Re:Differences with other Lisps by bjoli on Wednesday November 03, 2021 @07:21PM (#29101812)
It is not a terrible hack. It is a useful thing to do if you dont have things like paren highlighting or paredit.

I am firmly in the "paren clutter doesn't exist" camp.

Re:Differences with other Lisps by mpfundstein on Wednesday November 03, 2021 @03:33PM (#29099247)
i maintain two large CL code basis. there is no pain because of parens. really not...
Re:Differences with other Lisps by Zababa on Wednesday November 03, 2021 @06:14AM (#29092762)
> a waste of 1/3 of the matching pair symbols

I count 5, (), [], {}, <> and /\ though the last one is a bit of a stretch (but it's reversible: \/). Am I missing something? Did you mean "1/3 of the matching pair symbols left" as () is already used? Or is <> not usable?

Re:Differences with other Lisps by bjoli on Wednesday November 03, 2021 @07:18PM (#29101790)
There are functions starting with < and > so that's no good. And / and \ are already used elsewhere.