by TuringTest · 9y ago · 0 comments
"This is just what I wanted, all the syntactic peculiarities of Haskell with all the parentheses of Lisp." 'sarcasm.)
Is there a way that Hackett would standardize in using Readable Lisp [1] with Sweet-expressions as the default reader, to get rid of all the unneeded parentheses?I seem to harbor an unhealthy amount of hatred towards Lisp because of all the parentheses. The example shown at your link makes me visibly upset, unless I'm mentally prepared for it. I love the $ in Haskell, which lets me leave out parentheses, and I never use more than single level of nested parentheses, because the resulting code looks confusing to me.
I understand the power of point-free style, and it's quite exclusive to build pipelines. But it is very hard to read a function in that style if you're not already familiar with all the abstractions used.
The $ operator is a particular culprit ;-D Understanding a function depends heavily on precedence of operators. This is easy to do with algebra, because it uses few different operators. But in programming, where you have a huge number of functions defined in the program, it may be very hard to start reading a new program for the first time.