Den 04.03.2010 13:19, skrev Stéphane Ducasse:
> btw henrik
>
> does VW have the same behavior?
>
> Stef
>
Short answer is no, Eliot described the details:
http://n4.nabble.com/ensure-issues-was-Re-Pharo-project-Pharo-by-Example-vol-2-new-chapter-available-tp1575765p1577519.html
Cheers,
Henry
In case anybody is interested, I tried Henrik's example in VAST:
| proc |
proc := [[Transcript show: 'Start!']
ensure:
[Transcript show: 'Finish!'.
Processor yield]]
newProcess.
proc resume.
Processor yield.
proc s
btw henrik
does VW have the same behavior?
Stef
On Mar 4, 2010, at 11:38 AM, Henrik Johansen wrote:
> FWIW, this quote from the following discussion on Squeak-dev distills what I
> was trying (but failing) to demonstrate:
> "We shouldn't stop trying to support well-behaved ensure blocks proper
FWIW, this quote from the following discussion on Squeak-dev distills
what I was trying (but failing) to demonstrate:
"We shouldn't stop trying to support well-behaved ensure blocks properly.
Because if we don't then ensure
becomes entirely random. Or can anyone here explain why it would be
reasona
> Transcript is just a stream. #show: is just a combination of #nextPutAll: and
> #endEntry. #endEntry displays the contents of the stream and when that's done
> it removes everything from the stream with #resetContents. #resetContents is
> never executed, because the process is terminated bef
On Tue, 2 Mar 2010, Igor Stasenko wrote:
2010/3/2 Levente Uzonyi :
On Tue, 2 Mar 2010, Henrik Sperre Johansen wrote:
PS. For the not-so-faint-of-heart, open a Transcript and try evaluating:
|proc|
proc := [[Transcript show: 'Start!'. ] ensure: [Transcript show:
'Finish!' Processor yield.]] n
Thanks Levente!
Cheers,
Alexandre
On 3 Mar 2010, at 11:33, Levente Uzonyi wrote:
> On Wed, 3 Mar 2010, Stéphane Ducasse wrote:
>
>>
>> On Mar 2, 2010, at 10:33 PM, Levente Uzonyi wrote:
>>
>>> On Tue, 2 Mar 2010, Henrik Sperre Johansen wrote:
>>>
>> PS. For the not-so-faint-of-heart, o
On Wed, 3 Mar 2010, Stéphane Ducasse wrote:
On Mar 2, 2010, at 10:33 PM, Levente Uzonyi wrote:
On Tue, 2 Mar 2010, Henrik Sperre Johansen wrote:
PS. For the not-so-faint-of-heart, open a Transcript and try evaluating:
|proc|
proc := [[Transcript show: 'Start!'. ] ensure: [Transcript show:
On Mar 2, 2010, at 10:33 PM, Levente Uzonyi wrote:
> On Tue, 2 Mar 2010, Henrik Sperre Johansen wrote:
>
>>
PS. For the not-so-faint-of-heart, open a Transcript and try evaluating:
|proc|
proc := [[Transcript show: 'Start!'. ] ensure: [Transcript show:
'Finish!' Processor yi
-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] [squeak-dev] #ensure: issues (was: Re: Pharo by
Example vol 2: new chapter available)
2010/3/2 Levente Uzonyi :
> On Tue, 2 Mar 2010, Henrik Sperre Johansen wrote:
>
>>
>>>> PS. For the not-so-faint-of-heart, open a Trans
2010/3/2 Levente Uzonyi :
> On Tue, 2 Mar 2010, Henrik Sperre Johansen wrote:
>
>>
PS. For the not-so-faint-of-heart, open a Transcript and try evaluating:
|proc|
proc := [[Transcript show: 'Start!'. ] ensure: [Transcript show:
'Finish!' Processor yield.]] newProcess.
proc
11 matches
Mail list logo