Maybe, someone of you doesn’t still know about the existence of the Erlang function v(Number).
You can use this function within an Erlang shell and it will return the value for the Number-th line of the shell.
For example:
Eshell V5.6.5 (abort with ^G)
1> 2 * 2.
4
2> v(1).
4
3>
I found this function really useful many times, especially when managing with databases and records.
Discussion
No comments yet.