[erlang-questions] Unable to call functions that are in a module in the same location

Tuncer Ayaz tuncer.ayaz@REDACTED
Fri Sep 5 10:25:25 CEST 2014


On Fri, Sep 5, 2014 at 3:39 AM, Yves S. Garret wrote:
> Hi,
>
> Thanks for your reply. You're right, I did screw that up. This is
> after I made the proper fix:
>
> 6> genotype:test().
> Morphology: xor_mimic
> {aborted,{undef,[{random,unifrom,[],[]},

unifrom -> uniform

>                  {genotype,construct_InitialNeurons,6,
>                            [{file,"genotype.erl"},{line,101}]},
>                  {genotype,construct_InitialNeuroLayer,7,
>                            [{file,"genotype.erl"},{line,84}]},
>                  {genotype,construct_Cortex,3,
>                            [{file,"genotype.erl"},{line,51}]},
>                  {genotype,construct_Agent,3,
>                            [{file,"genotype.erl"},{line,20}]},
>                  {genotype,'-test/0-fun-0-',0,
>                            [{file,"genotype.erl"},{line,420}]},
>
> {mnesia_tm,apply_fun,3,[{file,"mnesia_tm.erl"},{line,830}]},
>                  {mnesia_tm,execute_transaction,5,
>                             [{file,"mnesia_tm.erl"},{line,810}]}]}}
>
> I kept digging in here and then this is what I've found. The AgentId
> (in test/0) is set to test. However, when the attempt is made to
> retrieve it, obviously, it gives me the above error.
>
> I think I need to keep reading and try to better understand what
> Gene Sher is trying to pull together here.



More information about the erlang-questions mailing list