<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>That is more of a formatting thing, as io:format does the same thing. I'll try to keep it in mind though. Adding {line,No} tuple to the return of erlang:fun_info should be simple enough and from there io_lib:format can do what it wants. Just hope we don't step on any backwards compatibility toes.</div></div></div></div></blockquote><div><br></div><div>For what is worth, we include the module, function and arity of where the anonymous function was defined when inspecting them in Elixir:<div><br></div><div>#Function<20.90072148/0 in :erl_eval.expr/5><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Including the line would be a helpful addition.</div><div><br></div><div><span style="font-size:13px"><div><span style="border-collapse:collapse"><b>José Valim</b></span></div><div><span style="border-collapse:collapse"><div><span style="font-family:verdana,sans-serif;font-size:x-small"><a href="http://www.plataformatec.com.br/" target="_blank" style="color:rgb(42,93,176)">www.plataformatec.com.br</a></span></div><div><span style="font-family:verdana,sans-serif;font-size:x-small">Skype: jv.ptec</span></div><div><span style="font-family:verdana,sans-serif;font-size:x-small">Founder and Director of R&D</span></div></span></div></span></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"></div></div></div></blockquote></div></div></div></div><div> </div><div><br></div></div></div></div></div>