Arity of funs

Tony Pedley tonyp@REDACTED
Wed Mar 15 10:53:36 CET 2000


Hi,
Well I've searched the OTP book, trawled the erlang questions archive(very good by the way, however
there should
be an all button on the Available Subdirectories) and I still can't work out how to do it.

How do you extract the arity of a Fun? e.g How do I do this

F = fun(X,Y,Z) -> end,

X = get_fun_arity(F).

3

All the best

Tony

--
______________________________________________________________________
Tony Pedley             mailto:tonyp@REDACTED
Ericsson Intracom Ltd.  Intranet : http://intracom.ericsson.se
1 Bede Island           Internet : http://www.ericsson.co.uk/datacom/index.htm
Leicester               memoID  : ECOM.CBERAM
England                 Tel  : +44 (0)116 2 542 400
LE2 7EU                 Fax  : +44 (0)116 2 046 111
______________________________________________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20000315/47024cbd/attachment.htm>


More information about the erlang-questions mailing list