[erlang-questions] next(Erlang): "Fix up records so that records are first-class citizens and not just syntax saccharine for tuples?"

Richard O'Keefe ok@REDACTED
Fri Nov 21 03:30:12 CET 2008


On 20 Nov 2008, at 10:30 pm, <attila.rajmund.nohl@REDACTED> wrote:

> On Thu, 20 Nov 2008, Kostis Sagonas wrote:
> [...]
>> 	f(..., R = #foo{bar = X, ugh = Y, zoo = Z}, ...) ->
>> 	    ...X...
>> 	    ...Y...
>> 	    ...Z...
>
> I know that this is the right Erlang style, but it's so counter- 
> intuitive that
> the variable which gets the value is on the right hand side...

That's why the current version of my 'frames' design uses "~"
instead of "=".




More information about the erlang-questions mailing list