4 ms·
In typical functional languages state is managed so that it doesn't hurt, not completely absent. For example, a REPL keeps state in the messages it prints to t
by HelloNurse 5y ago
In typical functional languages state is managed so that it doesn't hurt, not completely absent.
For example, a REPL keeps state in the messages it prints to the terminal and this state isn't visible in the pure function definitions and expression the program is concerned with.