Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Functional > Re: try ... fin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 2782 of 2842
Post > Topic >>

Re: try ... finally ...

by Joachim Durchholz <jo@[EMAIL PROTECTED] > Feb 28, 2008 at 09:14 PM

Am Donnerstag, den 28.02.2008, 19:53 +0000 schrieb Vesa Karvonen:
> Joachim Durchholz <jo@[EMAIL PROTECTED]
> wrote:
> > Am Donnerstag, den 28.02.2008, 11:16 +0000 schrieb Ian.Stark@[EMAIL PROTECTED]
> [...]
> > > There's a further refinement of this in the "exceptional syntax"
> > > proposed by Benton+Kennedy in JFP 11(4):394-410
> > > 
> > >   http://dx.doi.org/10.1017/S0956796801004099
> > >   http://research.microsoft.com/~akenn/sml/ExceptionalSyntax.pdf
> > > 
> > > where you want to identify code that runs only if an exception is
not
> > > raised.  Independently, Erlang introduced the same thing:
> > > 
> > >  try Expr of 
> > >    Pattern1 [when Guard1] -> Body1;
> > >    ...
> > >  catch
> > >    ExceptionPattern1 [when ExceptionGuard1] -> ExceptionBody1
> > >    ...
> > >  after
> > >    FinalBody
> 
> > I have known this idiom as try-catch-finally (I think these keywords
are
> > used in Delphi).  [...]
> 
> Note that this (try-...-finally) is *not* the main point of the
> Exceptional Syntax article.  (Note the pattern match between "of" and
> "catch" in the above Erlang example.)  I recommend reading the
Exceptional
> Syntax article.

I was going by the thread title.
Sorry if I missed a change of topic.

Regards,
Jo




 3 Posts in Topic:
Re: try ... finally ...
Joachim Durchholz <jo@  2008-02-28 20:34:58 
Re: try ... finally ...
Vesa Karvonen <vesa.ka  2008-02-28 19:53:49 
Re: try ... finally ...
Joachim Durchholz <jo@  2008-02-28 21:14:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:27:42 CDT 2008.