i'm sorry to interrupt,
but all you REALLY NEED is to tweak the "try..catch" a little bit,
in a manner that the catch clause receives and returns
more comprehensible values, the values that are clearly linked
with the failed expressions and human readable.

you do not need a new messy CRYPTIC operator.

try
  {ok, Result} = foo(...)
, {ok, _} = foo2(...)
catch
 {somehow_identify_which_line_failed, unobscured_the_rightside_value}
    ->  ...
  -
    -> default_returnvalue
end

and if (i am ignorant about that) "try" has drawbacks,
then reimplement it the way you intend to implement your new operator.


_______________________________________________
eeps mailing list
[email protected]
http://erlang.org/mailman/listinfo/eeps

Reply via email to