xref

Kostis Sagonas <>
Fri Apr 26 19:41:51 CEST 2002


Peter H|gfeldt <> wrote:
 >
 > On Fri, 26 Apr 2002, Joe Armstrong wrote:
 >
 > You just made a very trivial programming error:
 >
 > >  add_libs(P, L) ->
 > >     foreach(fun(I) ->
 > >                 Dir = code:lib_dir(stdlib) ++ "/ebin",
 >                                      ^^^^^^   
 >                   Dir = code:lib_dir(I) ++ "/ebin",


Coming from a Prolog background, it never ceases to amaze me why
the Erlang compiler (and experienced Erlang programmers) insist
on having singleton variable warnings turned off...

Kostis.




More information about the erlang-questions mailing list