[erlang-questions] four element 'fun' tuple in abstract form

Thomas Lindgren <>
Tue May 19 08:56:28 CEST 2009






----- Original Message ----
>  i noticed recently
> that we are seeing a 4 element 'fun' tuple in the forms produced from
> 
> { _, _, Forms } = compile:file (F, [ binary, 'E', { outdir, Dir } ])
> 
> in particular, using as input the file below (this is from nitrogen),
> i get a form of
> 
> {'fun',11,{function,validate,2},{0,10451040,'-render_validator/3-fun-0-'}}
> 
....
> can anyone shed some light on what this form is?

These fun-forms are introduced by sys_pre_expand. The fourth element is opaque compiler info.

Best,
Thomas


      




More information about the erlang-questions mailing list