[erlang-questions] re cursive fun()

deepblue_other cktgatb@REDACTED
Sun Oct 5 05:19:04 CEST 2008


hello
I have this going on

FunVar = 
   fun() ->
      ...
      FunVar()
   end.

so the compiler is complaining that FunVar is unbound at the place where its
being used inside fun(); this makes sense, however Im wondering how to make
this into a recursive function since there's no name to reference the
function with. 

thanks
-- 
View this message in context: http://www.nabble.com/recursive-fun%28%29-tp19820386p19820386.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list