<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi, <div><br></div><div>Guess I got the answer as "erlang:function_exported" would </div><div><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt;"><br></span></div><div><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt;">Returns </span><span class="code" style="font-family: Courier, monospace; font-size: 12pt;">false</span><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt;"> for any BIF (functions implemented in C rather than in Erlang).</span></div><div><font face="Verdana, Arial, Helvetica, sans-serif"><br></font></div><div>So lists:member/2 would have been implemented in C.</div><div><br></div><div>Sorry for the noise.</div><div><br></div><div>Regards,</div><div>Marutha</div><div><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: maruthavanan_s@hotmail.com<br>To: erlang-questions@erlang.org<br>Date: Thu, 25 Apr 2013 02:02:19 -0400<br>Subject: [erlang-questions] lists:member/2 and erlang:function_exported/3 conflict<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hi,<div><br></div><div>Why "erlang:function_exported(lists,member,2)" gives me false where as the function is exported?</div><div><br></div><div><div>15> erlang:function_exported(lists,member,2).</div><div>false</div><div>16> proplists:lookup(member, element(2,proplists:lookup(exports,lists:module_info()))).</div><div>{member,2}</div></div><div><br></div><div>Tried with some other functions randomly but got true. I tried with R14B and R16B. Is there any hidden reason behind it?</div><div><br></div><div>Thanks,</div><div>marutha</div>                                    </div>
<br>_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions</div></div>                                       </div></body>
</html>