Doubt about funs
Chandrashekhar Mullaparthi
Chandrashekhar.Mullaparthi@REDACTED
Tue Feb 20 18:13:47 CET 2001
The correct function is selected by the number of arguments to the Fun.
cheers,
Chandru
> -----Original Message-----
> From: Paulo Ferreira [mailto:paf@REDACTED]
> Sent: 20 February 2001 16:26
> To: erlang-questions@REDACTED
> Subject: Doubt about funs
>
>
> Well, here is my doubt:
>
> Taken fom the Erlang Extensions doc:
>
> "We can also refer a function defined in a different module with
> the following syntax:
>
> F = {Module,FunctionName} "
>
>
> In this case, how does Erlang gets the correct function, if
> in the module are several functions, with the same name
> but with different arity ?
>
>
> I know it gets the correct function, at least in the same module,
> because I tested it.
>
>
> Thanks
>
> Paulo Ferreira
>
>
> ------------------------------------------------
> Paulo Ferreira paf@REDACTED
>
>
NOTICE AND DISCLAIMER:
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