[erlang-questions] trouble with erlang or erlang is a ghetto

Max Lapshin max.lapshin@REDACTED
Wed Jul 27 22:49:01 CEST 2011

On Thu, Jul 28, 2011 at 12:39 AM, Joel Reymont <joelr1@REDACTED> wrote:
> What exactly is the problem with this?
> Records are just tuples, no?

Problem happens, when plugin is compiled against version 2, where
record rtmp_session was looking like:

#rtmp_session{pid, user_id}

but launched against version 3, where rtmp_session is:

#rtmp_session{pid, user_id, session_id}

Yes, records are only tuples and their field names are lost in runtime.

More information about the erlang-questions mailing list