Learning by reading code

WILLIAMS Dominic D.WILLIAMS@REDACTED
Tue May 27 09:46:47 CEST 2003


Hello,

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 documentation:

-compile(export_all).

What does this mean? Does it automatically export all functions contained in the file?

'#text'(Text) ->
    export_text(Text).

There are lots of functions in xmerl with these funny names. Does this have any special significance?

Cheers,

Dominic.



More information about the erlang-questions mailing list