A plea for help from Erlang gurus

Luke Gorrie luke@REDACTED
Thu Dec 18 15:54:11 CET 2003


Taavi Talvik <taavi@REDACTED> writes:

> I have system, which tries to classify events based on
> their properties. And I am trying to simplify writing
> some special code for acting on property lists.
> 
> I would like to write modules/rules in fashion of:

How about using a record instead of an association list? If you don't
have too many distict fields, this would be quite neat, and let you
write code pretty much like you describe.

-Luke




More information about the erlang-questions mailing list