[erlang-patches] Update module attributes page

Björn-Egil Dahlberg <>
Fri Jan 20 14:27:33 CET 2012


On 2012-01-20 13:33, José Valim wrote:
> The page on module attributes does not mention on_load and callback 
> attributes:
>
> http://www.erlang.org/doc/reference_manual/modules.html
>
> Should I submit a patch to update those or they are not mentioned 
> there on purpose?
Ah something that was overlooked I guess. =)
-on_load is described here 
http://www.erlang.org/doc/reference_manual/code_loading.html 
<http://www.erlang.org/doc/reference_manual/code_loading.html#id83565>
but i feel it should definitely be described with modules as well and 
link to code loading.

Feel free to submit a patch! =) (I actually had trouble finding on_load 
docs just the other day, so I would welcome it).

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.

Regards,
Björn-Egil
Erlang/OTP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20120120/6b507cc6/attachment.html>


More information about the erlang-patches mailing list