<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<br>Well I've searched the OTP book, trawled the erlang questions archive(very
good by the way, however there should
<br>be an all button on the Available Subdirectories) and I still can't
work out how to do it.
<p>How do you extract the arity of a Fun? e.g How do I do this
<p>F = fun(X,Y,Z) -> end,
<p>X = get_fun_arity(F).
<p>3
<p>All the best
<p>Tony
<pre>--
______________________________________________________________________
Tony Pedley <A HREF="mailto:tonyp@terminus.ericsson.se">mailto:tonyp@terminus.ericsson.se</A>
Ericsson Intracom Ltd. Intranet : <A HREF="http://intracom.ericsson.se">http://intracom.ericsson.se</A>
1 Bede Island Internet : <A HREF="http://www.ericsson.co.uk/datacom/index.htm">http://www.ericsson.co.uk/datacom/index.htm</A>
Leicester memoID : ECOM.CBERAM
England Tel : +44 (0)116 2 542 400
LE2 7EU Fax : +44 (0)116 2 046 111
______________________________________________________________________</pre>
</html>