> X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
> content-class: urn:content-classes:message
> MIME-Version: 1.0
> Subject: Learning by reading code
> Date: Tue, 27 May 2003 09:46:47 +0200
> Thread-Topic: Learning by reading code
> Thread-Index: AcMkJCBSuu5qysadRYmHgj4F1EFEKg==
> From: "WILLIAMS Dominic" <D.WILLIAMS>
> I am trying to learn Erlang, and like to read code written by experienced
this is one (very good) part of learning to program.
> I came across the following things (in xmerl) for which I could find no
explanation in the documentation:
> What does this mean? Does it automatically export all functions contained in
you are correct.
> '#text'(Text) ->
> There are lots of functions in xmerl with these funny names. Does this have
any special significance?
normal function names are written with [a-z] plus _ . if you want to
use special characters in a function name (like #) you have to single quoute