4 ms·
Why would you need read and print in a language that isn't yet intended to program computers? You don't need I/O in order to describe input and output in an ab
by kazinator 2y ago
Why would you need read and print in a language that isn't yet intended to program computers?
You don't need I/O in order to describe input and output in an abstract language. Literals, including quoted lists, are enough to encode input into the program as part of its body. The result of a function can be described using a notation like (+ 2 2) -> 4. It's not actually running so nothing needs to print that.