News for hackers. Stuff that matters.
Re:A History of Erlang (2007) by moreoutput on Monday April 06, 2020 @06:29PM (#22798518)
What am I missing here? I see no meaningful white space when running the same logic. I would expect this from any language when expressions aren't properly terminated.

Eshell V10.4 (abort with ^G)

1> 2+2

1> 2+2.

* 2: syntax error before: 2

1> 2 + 2.

4

2>

Re:A History of Erlang (2007) by hope-striker on Tuesday April 07, 2020 @12:54AM (#22800441)
Yep, GP mentions in another comment that they misinterpreted the error.[0]

Anyway, Python replaces the prompt ">>> " with "... " if the input is mid-statement, and I suppose it would be nice if Eshell did the same thing.

[0]: https://news.ycombinator.com/item?id=22799222

Re:A History of Erlang (2007) by seagreen on Tuesday April 07, 2020 @10:52AM (#22803729)
This whole thread is going in my "Humility" file, not only did I misinterpret the error this one time, I've been messing around at the Erlang REPL putting a space after each command for absolutely no reason <headdesk>.