For example:
$ erl
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:8:8]
[ds:8:8:10] [async-threads:10] [kernel-poll:false]
Eshell V9.2 (abort with ^G)
1> 2 + 2
1> 2 + 2.
* 2: syntax error before: 2
1> 2 + 2.
4
Note the trailing whitespace(!) after the last `2 + 2. `, necessary for the result to be printed.I was coming from Haskell which has its own very serious tooling and ergonomics problems. Trying Erlang made me realize things could be even worse. My internal model in my head of language designers/promoters is COMPLETELY wrong, I have absolutely no idea how people could spend time promoting languages with such strange tooling to a general audience with any expectation that it will work.[1]
[1] Not to say that these languages/tools aren't awesome. Trailing whitespace matters semantically absolutely not at all. But if you're trying to promote a language with meaningful trailing REPL whitespace to a general 2020 audience there is some terrible mismatch between your expectations and your actual chance of success.