You may be able to construct that in APL.
I'm on my phone now, so this is from memory and may be wrong: take a look
at quad-EM (and maybe quad-EMX, although that may well be a Dyalog-ism);
you should be able to capture the error information and rethrow using
quad-ES.
On Apr 21, 2014 8:09 PM, "Elia
On Mon, 2014-04-21 at 17:34 +0800, Elias MÃ¥rtenson wrote:
> We need a feature similar to the Common Lisp form UNWIND-PROTECT, or
> in Java: try/finally.
>
>
> For those who don't know, this form allows you to execute code after
> some code has been run, regardless of how the latter exits (return
We need a feature similar to the Common Lisp form UNWIND-PROTECT, or in
Java: try/finally.
For those who don't know, this form allows you to execute code after some
code has been run, regardless of how the latter exits (return normally,
exited with error, etc...)
What I envision is something like