logoalt Hacker News

jasperryyesterday at 11:40 PM2 repliesview on HN

Those are functional languages that generally don't use statements, so it makes sense to leave them out of a discussion about statement separators. If you think more people should use functional languages and so avoid the semicolon problem altogether, you could argue that.


Replies

marcosdumayyesterday at 11:45 PM

Yet, the author ends with a half-backed clone of the Haskell syntax.

Blikkentrekkeryesterday at 11:52 PM

Functional hardly matters Haskell has plenty of indentation which is by the way interchangeable with `{ ... }`, one can use both at one's own pleasure and it's needed for many things.

Also, famously `do { x ; y ; z }` is just syntactic sugar for `x >> y >> z` in Haskell where `>>` is a normal pure operator.