Learning by reading code
Tue May 27 16:51:38 CEST 2003
--- WILLIAMS Dominic <D.WILLIAMS@REDACTED>
> I am trying to learn Erlang, and like to read code
> written by experienced Erlangers.
> I came across the following things (in xmerl) for
> which I could find no explanation in the
> What does this mean? Does it automatically export
> all functions contained in the file?
Yes. I think a more modern approach (at least when you
use makefiles) is to do
erlc +export_all module.erl
and leave the -compile(...) attribute out. (Because
you can change the mass of options once in the
makefile instead of going through each module.)
(or in the top loop, use the clumsier
1> c(module, [export_all]).
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
More information about the erlang-questions