3.3 Interactive Sessions
Interactive sessions are an Erlang version of the Emacs Lisp
*scratch* buffer. You can enter arbitrary Erlang expressions
and function definitions in an interactive session buffer and evaluate
them immediately, without creating any files.
- C-c C-d e
- Display the Interactive Session buffer for an Erlang node, creating it
if necessary. (
Within the session buffer, these commands are available:
- Evaluate the Erlang expression on the current line, and insert the
result in-line. (
- Evaluate the function definition before the point. Once defined, the
function can then be called from expressions in the session buffer,
and can be redefined later.