<div dir="ltr"><div style>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.</div>
<div style><br></div><div style>my_fun(X) -></div><div style>    Y = X+1,</div><div style>     get_all_bindings(). </div><div style><br></div><div style>Thanks</div></div>