logoalt Hacker News

shaknatoday at 8:43 AM3 repliesview on HN

> LispE provides an alternative to parentheses with the composition operator: "."

That is a... Choice.

Breaking the pair operator in favour of something new.


Replies

arethuzatoday at 10:11 AM

After programming in Common Lisp for a few years (a long time ago) and then later on having a brief period where I was fond of Python, I did also become fascinated with the concept of lisps where indentation replaces parenthesis such as Wisp:

https://www.draketo.de/software/wisp

Mind you - I usually end up concluding that Lisp syntax is actually pretty good as it is...

show 1 reply
sphtoday at 9:42 AM

Yeah, that's pretty unclean on two aspects: breaks pairs, and breaks the orthogonality of s-expressions

A simple macro would've sufficed, say:

  (compose
    sum
    (numbers 1 2 3))
show 2 replies
mchavertoday at 9:59 AM

It's not too bad. I like it! Haskell uses "$" to do the same thing.

show 2 replies