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

Gustavo Pires devgutt@REDACTED
Fri Sep 5 14:14:55 CEST 2014


It seems a very interesting project. Congrats


On Fri, Sep 5, 2014 at 5:25 AM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140905/81f2fe4e/attachment.htm>


More information about the erlang-questions mailing list