record field names
Mon Sep 19 09:29:53 CEST 2005
Ulf Wiger (AL/EAB) wrote:
> Mats Cronqvist wrote:
>> name clashes?
>> surely you can't have a real record_info/2 function?
> You can bet that someone does. (:
> Well... perhaps that would be exceedingly unlikely.
> I'll grant you that.
well, i belive that the compiler will refuse to generate code for
record_info/2. thus, there cannot be a name clash.
btw, i'd like this too;
module_info(records) -> list(record_names).
More information about the erlang-questions