[erlang-questions] Intel Quad CPUs

Christian S <>
Tue Sep 4 16:18:25 CEST 2007


2007/9/4, Hugh Perkins <>:
> f :: ( StudentNames );
> f(StudentNames@[]) -> [];
> f(StudentNames@[H|T]) when H < 3 -> {low};
> f(StudentNames@[A, B, C|Rest]) when C =:= {foo} -> [A|T];
> f(_StudentNames) -> 42.

We already have edoc for machine-extractable documentation, that would
allow us to have something similar to lisp's documentation strings.



More information about the erlang-questions mailing list