Tip of the day

Vance Shipley vances@REDACTED
Sat Aug 14 23:28:13 CEST 2004


Tip for Saturday August 14th:

Have you ever forgot to store the return value of a function
while working in the shell and had to run it again?

   1> (user@REDACTED)1> foo:start().
   {ok,<0.48.0>}

Oops!  No need to start another process:

   2> {ok, Pid} = v(1).
   {ok,<0.48.0>}


  -Vance



More information about the erlang-questions mailing list