[erlang-questions] fun in shell

Mats Cronqvist mats.cronqvist@REDACTED
Wed Mar 7 16:04:15 CET 2007


   running this;

   F=fun(A,B) -> try A+B catch _:_->dontthinkso end end,
   lists:zipwith(F,[1,2],[2,3]).

   in the shell crashes, but works fine in compiled code.
   is this a well-known problem? or perhaps even a Feature(TM)?

   mats



More information about the erlang-questions mailing list