[erlang-questions] Directly matching record fields illegal?

Dmitrii Dimandt <>
Fri Jan 4 19:49:20 CET 2008


>
>     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/

:)



More information about the erlang-questions mailing list