[erlang-questions] Directly matching record fields illegal?

Robert Virding rvirding@REDACTED
Sat Jan 5 00:04:46 CET 2008


Nice. However, all the examples in the test file only show accessing record
fields, not setting them, and the test records have non-overlapping field
names. So the general setting syntax problem is yet unsolved. :-)

Robert

On 04/01/2008, Dmitrii Dimandt <dmitrii@REDACTED> wrote:
>
> >
> >     Foo1 = Foo#foo.bar = 1    %%Try explaining this
> >
> > (Which is close to what we have today: Foo1 = Foo#foo{bar=1})
>
> Well, on a side note something like this is actually possible:
> http://code.google.com/p/recless/
>
> :)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080105/6cc45fcc/attachment.htm>


More information about the erlang-questions mailing list