Try/Cond

Sean Hinde sean.hinde@REDACTED
Tue Oct 21 20:50:37 CEST 2003


On Tuesday, October 21, 2003, at 07:46  pm, Richard Carlsson wrote:

>
> Oh, and you also mentioned "try". We're still discussing the
> fine points about the semantics and syntax. I seriously hope
> it will be part of R10 next year.
>

So try is like (guessing):

try
	func1(xx),
	f2(yy)
catch
	{'EXIT', Reason} ->
		{error, oops};
	ok ->
		ok
end.

?

Sean




More information about the erlang-questions mailing list