[erlang-questions] Code/Hot/Loading

Gokul Evuri <>
Mon Jan 16 15:41:11 CET 2012


so for instance

f() -> 3.
x() -> F = fun() -> f() end,
       A = f(),
       B = ?MODULE:f(),
       C = F().

right after F hash been defined,

a new version of code for f() is defined as follows

f()-> threeand loaded.

What would be the value of C.

-- 
*Gokul Reddy Evuri,*
*IT Universitet **Göteborg**,*
*Göteborg,*
*Sverige.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120116/88a82e47/attachment.html>


More information about the erlang-questions mailing list