[erlang-questions] Finding inconsistencies in record definitions and pretty printing records

Thomas Lindgren <>
Wed Oct 15 13:15:07 CEST 2008




--- On Tue, 10/14/08, Joe Armstrong <> wrote:

> From: Joe Armstrong <>
> Subject: [erlang-questions] Finding inconsistencies in record definitions and pretty printing records
> To: "erlang-questions" <>
> Date: Tuesday, October 14, 2008, 5:31 PM
> Hi,
> 
> This is a method for ensuring the consistency of records
> and for
> providing record field information at run-time.
> 
> Long-time readers of this list will recognize this as a
> long-standing
> problem.
> 
> (what's the problem? if you change a record definition
> and
>  forget to recompile everything you will get fried - and
>  record definitions get forgotten at run time)

Does it handle multiple definitions of the same record name? (#state, to take the canonical example)

Best,
Thomas



      



More information about the erlang-questions mailing list