record field names

Mats Cronqvist <>
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?
>>
>>   mats
> 
> 
> 
> You can bet that someone does.  (:
> 
> Well... perhaps that would be exceedingly unlikely.
> I'll grant you that.
> 
> /Uffe
 >

   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).

   mats



More information about the erlang-questions mailing list