[erlang-questions] Noob alert: tuple to record?

Peter Sabaini <>
Thu Dec 4 22:46:43 CET 2008


Disregard that message, I just figured it out.

For other noobs: simply put the record name as the first element in a tuple, 
and its a record of that type. 

Sorry for the noise...

peter.

On Thursday 04 December 2008 21:34:42 you wrote:
> Hello list,
>
> Please forgive the noobness: if I have a list of {Name, Value} pairs
> corresponding to names defined in a record, is there a way to set those
> values in a record automatically?
>
> Thanks,
> peter.

-- 
  Peter Sabaini
  http://sabaini.at/
  




More information about the erlang-questions mailing list