There is a mode for emacs-lisp buffers which allows one to display the value of each expression line by line, and updates the value of the expressions as soon as these are edited. It looks something like:
(+ 1 1) -> 2
(* 2 3) -> 6
What is the name of this mode? I have seen it in action and used it but I have forgotten how it is invoked.