[erlang-questions] record_info in module_info

Joe Armstrong erlang@REDACTED
Tue Mar 6 10:20:01 CET 2007


Suggestion for improvement to system.

Compile record  tags  *into* module_info()

      - record fields are known at compile time
        but can be changed later - the values used should be  recorded in the
        module info

      - can check consistency of records *between* different module
      - can improve ~p to write records correctly
      - can implement record2list and list2record
      - can serialize records
      - none
Backward compatibility
      - 100%
Difficulty of implementation:
     - None :-)

Do it


PS can I document this in the book :-)

More information about the erlang-questions mailing list