[erlang-questions] Possible bug in process_info ?
Vlad Dumitrescu
vladdu55@REDACTED
Tue Sep 26 08:39:30 CEST 2006
Hi,
On 9/26/06, Tim Rath <rath64@REDACTED> wrote:
> Strangely, it appears that changing the parameters to the io:fwrite function change the arity in the previous call to process_info (but only inside a fun)
It seems that the fun's arity includes not only the actual parameters,
but also the bindings of the free variables used inside it.
In your example, S and P are also used; and in the second case S, SS
and P. This would explain the numbers.
best regards,
Vlad
More information about the erlang-questions
mailing list