[nem-en] Re: LazyValue.n (def e = e)

Vladimir Reshetnikov V.Reshetnikov at gmail.com
Tue Feb 13 12:04:54 CET 2007


Michal Moskal <michal.moskal <at> gmail.com> writes:

> This is a workaround for some bug, preventing cought exception to go
> into function's closure. You can check if it's still there.
> 


Looks like it is OK now.

[nemerle]
using System;
mutable f;
try {
	throw ApplicationException()
}
catch {
	e =>
		f = fun() { throw e }
}
try {
	f()
}
catch {
	e =>
		Console.WriteLine(e)
}
[/nemerle]




More information about the devel-en mailing list