[erlang-questions] get_env returns a surprise...

Steve Davis steven.charles.davis@REDACTED
Sat Jan 21 23:02:12 CET 2012


Bug or feature? Why does the key included_applications appear twice,
i.e. also under env which it is specifically not a part of?

6> application:get_all_key(myapp).
{ok,[{description,"My App"},
     {id,[]},
     {vsn,"1.0.0"},
     {modules,[]},
     {maxP,infinity},
     {maxT,infinity},
     {registered,[]},
     {included_applications,[public_key,ssl]},
     {applications,[kernel,stdlib]},
     {env,[{included_applications,[public_key,
                                   ssl]}]},
     {mod,{ice_app,[]}},
     {start_phases,undefined}]}

best,
/s



More information about the erlang-questions mailing list