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

Maruthavanan Subbarayan <>
Thu Apr 25 08:02:19 CEST 2013


Hi,
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?
Thanks,marutha 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130425/fd110e1a/attachment.html>


More information about the erlang-questions mailing list