Dear list,<div><br></div><div>is it possible to reference a fun from its atom name? For instance:</div><div><br></div><div><div><font face="courier new, monospace">1> eunit:test({generator, fun hello_test_/0}).</font></div>
</div><div><br></div><div>-> everything is ok.</div><div><br></div><div><font face="courier new, monospace">2> FunName = 'hello_test_/0'.</font></div><div><div><font face="courier new, monospace">'hello_test_/0'</font></div>
</div><div><font face="courier new, monospace">3> eunit:test({generator, fun FunName}).</font></div><div><font face="courier new, monospace">* 1: syntax error before: '}'</font></div><div><br></div><div>Any ideas?</div>
<div><br></div><div>Thank you,</div><div><br></div><div>r.</div>