<div dir="ltr">Is it possible to get the function dependencies of a fun object using xref.<div><br></div><div>For instance given the following function:<br><div><br></div><div style>-module(somemod).</div><div style><br></div>
<div style>f(File1) -></div><div style>    Ans = file:read(File1),</div><div>    F = fun() -> file:write(File1, "Done") end.</div><div><br></div><div style>Is it possible to get</div><div style><div>[</div>
<div><b>{{somemod,'-f/1-fun-0-',1},{file,read,1}},</b><br></div><div>{{somemod,f,1},{file,read,1}},</div><div>{{somemod,f,1},{file,write,2}}</div><div>]</div><div><br></div></div><div style>instead of just</div><div style>
[</div><div style>{{somemod,f,1},{file,read,1}},</div><div style>{{somemod,f,1},{file,write,2}}</div><div style>]</div><div style> </div><div style>Thanks :)
</div></div></div>