[erlang-questions] Variable bindings

Tyron Zerafa tyron.zerafa@REDACTED
Sat Jan 26 15:32:19 CET 2013


Does there exist any particular function which would give me all variable
bindings (including their values) at that point. For instance, something
similar to get_all_bindings (example below) should result in [{X=3},{Y=4}]
when called with X=2.

my_fun(X) ->
    Y = X+1,
     get_all_bindings().

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130126/fb3f2eec/attachment.htm>


More information about the erlang-questions mailing list