Dissapearance of hash()?

Sean Hinde Sean.Hinde@REDACTED
Tue Sep 26 14:47:34 CEST 2000

I asked this as well one some time ago. The answer is that BIFs do not show
up with m(). Try m(ets) and see how much you get.

The reason seems to be simply that m/1 calls module_info in the compiled
beam file which only knows about what has been compiled in there.


> -----Original Message-----
> From: Alexander Williams [mailto:thantos@REDACTED]
> Sent: 26 September 2000 13:42
> To: Sean Hinde
> Cc: erlang-questions@REDACTED
> Subject: Re: Dissapearance of hash()?
> On Tue, Sep 26, 2000 at 01:19:29PM +0100, Sean Hinde wrote:
> > You can find all (most) BIFs in the docs for the erlang 
> module. So hash/2 is
> > found as erlang:hash/2
> Hmmmmm ...  hash/2 is callable as erlang:hash/2 ... but an m(erlang)
> doesn't show hash amongst the exports of the module.  Minor bug?
> -- 
> Alexander Williams (thantos@REDACTED)           | In the End,
>   "Blue Jester needs food."                             | Oblivion
>   "Blue Jester needs fuku-wearing cuties."              | Always
>   http://www.chancel.org                                | Wins

This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

More information about the erlang-questions mailing list