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

attila.rajmund.nohl@REDACTED attila.rajmund.nohl@REDACTED
Thu Nov 20 10:30:05 CET 2008


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

 				Bye,NAR
-- 
"Beware of bugs in the above code; I have only proved it correct, not
  tried it."



More information about the erlang-questions mailing list