4 ms·
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 term
by moreoutput 6y ago
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>
- hope-striker 6y agoYep, 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 https://news.ycombinator.com/item?id=22799222
- seagreen 6y agoThis 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>.