<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2012-01-20 13:33, José Valim wrote:
<blockquote
cite="mid:CAGnRm4JAj9OOFaAYpTEhendmcUXmqDL6uTU6OAD_0u2BRawTdw@mail.gmail.com"
type="cite">The page on module attributes does not mention on_load
and callback attributes:
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://www.erlang.org/doc/reference_manual/modules.html">http://www.erlang.org/doc/reference_manual/modules.html</a></div>
<div><br>
</div>
<div>Should I submit a patch to update those or they are not
mentioned there on purpose? <br>
</div>
</blockquote>
Ah something that was overlooked I guess. =)<br>
-on_load is described here
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://www.erlang.org/doc/reference_manual/code_loading.html#id83565">http://www.erlang.org/doc/reference_manual/code_loading.html</a><br>
but i feel it should definitely be described with modules as well
and link to code loading.<br>
<br>
Feel free to submit a patch! =) (I actually had trouble finding
on_load docs just the other day, so I would welcome it).<br>
<br>
Actually anyone that feels the docs should have something that isn't
there should submit a patch for it. I some cases internal exported
functions are not documented to deter others from using it but
normally we welcome any clarification and beautification patches to
the docs.<br>
<br>
Regards,<br>
Björn-Egil<br>
Erlang/OTP<br>
</body>
</html>