[erlang-questions] lists:member/2 and erlang:function_exported/3 conflict

Maruthavanan Subbarayan maruthavanan_s@REDACTED
Thu Apr 25 08:02:19 CEST 2013

Why "erlang:function_exported(lists,member,2)" gives me false where as the function is exported?
15> erlang:function_exported(lists,member,2).false16> proplists:lookup(member, element(2,proplists:lookup(exports,lists:module_info()))).{member,2}
Tried with some other functions randomly but got true. I tried with R14B and R16B. Is there any hidden reason behind it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130425/fd110e1a/attachment.htm>

More information about the erlang-questions mailing list