Re: dynamic-wind

2017-07-17 Thread Catonano
I'm so glad for all the people who intervened in this discussion As this made the subtleties of the issue clearer. Thank you people ! 2017-07-09 16:49 GMT+02:00 Chris Vine : > On Sun, 9 Jul 2017 11:09:25 -0300 > Vítor De Araújo wrote: > > unwind-protect is a dynamic-wind without the in guard.

Re: dynamic-wind

2017-07-09 Thread Chris Vine
On Sun, 9 Jul 2017 11:09:25 -0300 Vítor De Araújo wrote: > On 09/07/2017 09:59, Chris Vine wrote: > > On Sun, 09 Jul 2017 00:34:13 +0300 > > Marko Rauhamaa writes: > >> Hm. Python's try/finally has several uses in virtually every > >> program. > >> > >> Trouble is, Scheme's continuations make i

Re: dynamic-wind

2017-07-09 Thread Vítor De Araújo
On 09/07/2017 09:59, Chris Vine wrote: > On Sun, 09 Jul 2017 00:34:13 +0300 > Marko Rauhamaa writes: >> Hm. Python's try/finally has several uses in virtually every >> program. >> >> Trouble is, Scheme's continuations make it impossible to know when >> something is really final. >> >> In fact, i

Re: dynamic-wind

2017-07-09 Thread Chris Vine
On Sun, 09 Jul 2017 00:34:13 +0300 Marko Rauhamaa writes: > Hm. Python's try/finally has several uses in virtually every > program. > > Trouble is, Scheme's continuations make it impossible to know when > something is really final. > > In fact, implementing coroutines and cooperative multitaski

Re: dynamic-wind

2017-07-09 Thread David Kastrup
Marko Rauhamaa writes: > Amirouche Boubekki : > >> I consider dynamic-wind an advanced concept not required for usual >> hacking. > > Hm. Python's try/finally has several uses in virtually every program. > > Trouble is, Scheme's continuations make it impossible to know when > something is really

Re: dynamic-wind

2017-07-08 Thread Marko Rauhamaa
Amirouche Boubekki : > I consider dynamic-wind an advanced concept not required for usual > hacking. Hm. Python's try/finally has several uses in virtually every program. Trouble is, Scheme's continuations make it impossible to know when something is really final. In fact, implementing coroutine

Re: dynamic-wind

2017-07-08 Thread Amirouche Boubekki
Héllo all! On Wed, Jul 5, 2017 at 8:14 AM Catonano wrote: > My point is that the manual does not a good job of _introducing_ people to > the concept of dynamic wind > > Especially people wo have not clear in mind a complete map of the use cases > with relative possible solutions. > > The manual

Re: dynamic-wind

2017-07-05 Thread David Kastrup
Catonano writes: > Chris, > > thank you for your remarks. > > Yo're right that I was being caught up by continuations AND that I was > probably missing the generality of the concept of dynamic wind > > And yet, I still want to clarify my point > > My point is not that the manual is incomplete or

Re: dynamic-wind

2017-07-04 Thread Catonano
Chris, thank you for your remarks. Yo're right that I was being caught up by continuations AND that I was probably missing the generality of the concept of dynamic wind And yet, I still want to clarify my point My point is not that the manual is incomplete or inaccurate My point is that the ma

Re: dynamic-wind

2017-07-02 Thread Chris Vine
On Sun, 2 Jul 2017 08:00:58 +0200 Catonano wrote: > 2017-06-30 23:48 GMT+02:00 Panicz Maciej Godek > : > > It's very simple (at least from the point of view of a user) > > When it is tempting to write something like > > > > (define (within-context action) > > (enter-context) > > (action) > >

Re: dynamic-wind

2017-07-01 Thread Catonano
Thank you !!

Re: dynamic-wind

2017-07-01 Thread Catonano
2017-06-30 23:48 GMT+02:00 Panicz Maciej Godek : > > > 2017-06-30 22:33 GMT+02:00 Catonano : > >> On the irc channel I was suggested that it might have been a good fit for >> my use case >> >> I took a look at it in the manual >> >> I'm perplexed. I don't understand it >> >> How is it supposed to

Re: dynamic-wind

2017-06-30 Thread Panicz Maciej Godek
2017-06-30 22:33 GMT+02:00 Catonano : > On the irc channel I was suggested that it might have been a good fit for > my use case > > I took a look at it in the manual > > I'm perplexed. I don't understand it > > How is it supposed to be used ? > > It's very simple (at least from the point of view o