News for hackers. Stuff that matters.
Re:An Intuition for Lisp Syntax (2020) by bryanlarsen on Sunday August 28, 2022 @04:56PM (#32631987)
And if anybody is interested in a well developed alternative Lisp syntax in this manner:

https://readable.sourceforge.io/

Re:An Intuition for Lisp Syntax (2020) by retrac on Sunday August 28, 2022 @05:04PM (#32632051)
Unfortunately, as with all standards, there's so many wonderful alternatives to choose from. I rather like Wisp: https://www.draketo.de/software/wisp

I wish all languages had the : operator that Wisp has. It's $ in Haskell. It simply says that what follows to the end of line is wrapped in brackets. So:

  putStrLn $ somefunc $ process val = putStrLn (somefunc (process val))
Like a UNIX pipe, but moving to the left.
Re:An Intuition for Lisp Syntax (2020) by amelius on Sunday August 28, 2022 @06:56PM (#32632917)
Instead of $ they could have used ¢, since it looks more like an opening bracket.
Re:An Intuition for Lisp Syntax (2020) by ablob on Sunday August 28, 2022 @10:28PM (#32634205)
There aren't too many keyboards with a ¢ key included, so I suppose that alone could be a show stopper.
Re:An Intuition for Lisp Syntax (2020) by 3836293648 on Sunday August 28, 2022 @11:29PM (#32634504)
They definitely didn't care about that. No language that uses ` , the most painful common character to write on most non-US keyboards put any consideration into that.
Re:An Intuition for Lisp Syntax (2020) by Eavolution on Monday August 29, 2022 @03:56AM (#32635720)
My UK keyboard has it
Re:An Intuition for Lisp Syntax (2020) by TylerE on Sunday August 28, 2022 @11:56PM (#32634659)
Not a fair comparison, since most keyboards DO have a US layout.
Re:An Intuition for Lisp Syntax (2020) by lokedhs on Monday August 29, 2022 @12:41AM (#32634863)
Outside of the US and a few other English-speaking countries? Not really. In Europe, US keyboards are nowhere to be found (the UK uses a different layout).
Re:An Intuition for Lisp Syntax (2020) by p_l on Monday August 29, 2022 @05:59AM (#32636375)
It's part of why it's always painful to buy a keyboard west of Oder for me, because Poland use ANSI layout as base, not ISO, at least as an option. After over a decade, even Microsoft finally learnt to default to "Polish (Programmers)" rather than "Polish (214)" keyboard when installing the OS (it was a common pitfall across whole Windows 9x).

Other languages in former Warsaw Pact tend to have "Programmers" layout available as well, because the national standard layouts tended to be designed for typewriters not programming and lack all kinds of characters people need - unless you go trigram route in C/C++.

For what its worth, Common Lisp at least does let you remap ` and such :)

Re:An Intuition for Lisp Syntax (2020) by 3836293648 on Monday August 29, 2022 @09:36AM (#32638047)
I'm not talking about the physical ISO vs ANSI layouts. I mean the layout in software. It's not even close. Basically noone outside the US and Canada uses it. We're on HN, so obviously someone here will, but outside of this niche? Noone
Re:An Intuition for Lisp Syntax (2020) by eska on Monday August 29, 2022 @03:10AM (#32635480)
We have reached Peak Bideshedding
Re:An Intuition for Lisp Syntax (2020) by bmitc on Tuesday August 30, 2022 @08:29AM (#32649512)
I have always felt SML and F# are basically statically typed Lisps/Schemes without parentheses.