Construct for associative arrays

Mon Feb 8 17:31:36 CET 1999

From: W.Boeke, Lucent Technologies, boeke@REDACTED
To  : Erlang discussion group, erlang-questions@REDACTED
Date: febr 8, 1999


Suppose I have a record:

  -record(aap,{ johnnie }).

a function:

  name() -> johnnie.

and a variable assignment:

  Var = #aap{ johnnie=mad },

Now my question is: would it be TERRIBLE difficult to implement Erlang such
that I could address a record member as follows:

This way, working with associative arrays would become very simple. And these
data structures are quite useful, once you are accustomed to them.

Kind regards,
Wouter Boeke

More information about the erlang-questions mailing list