[newbie] refactor function?

Gaspar Chilingarov nm@REDACTED
Tue Feb 1 16:56:37 CET 2005

Bengt Kleberg wrote:
> Gaspar Chilingarov wrote:
> ...deleted
>> following function just adds to list of tuples with range descriptions 
>> initial zero value, which will be changed later in application.
> you might want to consider using records (instead of tuples).

one question to clarify thing -- when i have function, which splits list 
to head and tail, i always need to have separate clause for empty list 
case, am i ?

Gaspar Chilingarov
System Administrator

t +3749 419763
w www.web.am

More information about the erlang-questions mailing list