BlockClosure>>isValid

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

BlockClosure>>isValid

Stéphane Ducasse


Begin forwarded message:

> From: [hidden email]
> Date: August 27, 2009 6:02:12 AM CEDT
> To: [hidden email]
> Subject: [squeak-dev] The Trunk: Kernel-ar.230.mcz
> Reply-To: [hidden email]
>
> Andreas Raab uploaded a new version of Kernel to project The Trunk:
> http://source.squeak.org/trunk/Kernel-ar.230.mcz
>
> ==================== Summary ====================
>
> Name: Kernel-ar.230
> Author: ar
> Time: 26 August 2009, 9:01:37 am
> UUID: d0759469-14fd-2c40-a5bd-90aab36cd9a5
> Ancestors: Kernel-ar.229
>
> Implementations for BlockClosure>>isValid and  
> asMinimalRepresentation for compatibility of BlockClosure with the  
> when:evaluate: protocol.
>
> =============== Diff against Kernel-ar.229 ===============
>
> Item was added:
> + ----- Method: BlockClosure>>isValid (in category 'events-support')  
> -----
> + isValid
> + "For use in the when:evaluate: protocol, i.e.,
> + foo when: #bar evaluate:[self handleBar].
> + Return true."
> + ^true!
>
> Item was added:
> + ----- Method: BlockClosure>>asMinimalRepresentation (in category  
> 'events-support') -----
> + asMinimalRepresentation
> + "For use in the when:evaluate: protocol, i.e.,
> + foo when: #bar evaluate:[self handleBar].
> + Return the receiver."
> + ^true!
>
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: BlockClosure>>isValid

Henrik Sperre Johansen
This was done months ago shortly after closures were introduced, to  
make Polymorph work.

The associated tests might be nice to have in Pharo as well though :)

Cheers,
Henry

On Aug 27, 2009, at 8:47 17AM, Stéphane Ducasse wrote:

>
>
> Begin forwarded message:
>
>> From: [hidden email]
>> Date: August 27, 2009 6:02:12 AM CEDT
>> To: [hidden email]
>> Subject: [squeak-dev] The Trunk: Kernel-ar.230.mcz
>> Reply-To: [hidden email]
>>
>> Andreas Raab uploaded a new version of Kernel to project The Trunk:
>> http://source.squeak.org/trunk/Kernel-ar.230.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Kernel-ar.230
>> Author: ar
>> Time: 26 August 2009, 9:01:37 am
>> UUID: d0759469-14fd-2c40-a5bd-90aab36cd9a5
>> Ancestors: Kernel-ar.229
>>
>> Implementations for BlockClosure>>isValid and
>> asMinimalRepresentation for compatibility of BlockClosure with the
>> when:evaluate: protocol.
>>
>> =============== Diff against Kernel-ar.229 ===============
>>
>> Item was added:
>> + ----- Method: BlockClosure>>isValid (in category 'events-support')
>> -----
>> + isValid
>> + "For use in the when:evaluate: protocol, i.e.,
>> + foo when: #bar evaluate:[self handleBar].
>> + Return true."
>> + ^true!
>>
>> Item was added:
>> + ----- Method: BlockClosure>>asMinimalRepresentation (in category
>> 'events-support') -----
>> + asMinimalRepresentation
>> + "For use in the when:evaluate: protocol, i.e.,
>> + foo when: #bar evaluate:[self handleBar].
>> + Return the receiver."
>> + ^true!
>>
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: BlockClosure>>isValid

Stéphane Ducasse
Thanks henrik!
this is exactly the kind of feedback I want to log
One left to do :)

Stef

On Aug 27, 2009, at 9:20 AM, Henrik Johansen wrote:

> This was done months ago shortly after closures were introduced, to
> make Polymorph work.
>
> The associated tests might be nice to have in Pharo as well though :)
>
> Cheers,
> Henry
>
> On Aug 27, 2009, at 8:47 17AM, Stéphane Ducasse wrote:
>
>>
>>
>> Begin forwarded message:
>>
>>> From: [hidden email]
>>> Date: August 27, 2009 6:02:12 AM CEDT
>>> To: [hidden email]
>>> Subject: [squeak-dev] The Trunk: Kernel-ar.230.mcz
>>> Reply-To: [hidden email]
>>>
>>> Andreas Raab uploaded a new version of Kernel to project The Trunk:
>>> http://source.squeak.org/trunk/Kernel-ar.230.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Kernel-ar.230
>>> Author: ar
>>> Time: 26 August 2009, 9:01:37 am
>>> UUID: d0759469-14fd-2c40-a5bd-90aab36cd9a5
>>> Ancestors: Kernel-ar.229
>>>
>>> Implementations for BlockClosure>>isValid and
>>> asMinimalRepresentation for compatibility of BlockClosure with the
>>> when:evaluate: protocol.
>>>
>>> =============== Diff against Kernel-ar.229 ===============
>>>
>>> Item was added:
>>> + ----- Method: BlockClosure>>isValid (in category 'events-support')
>>> -----
>>> + isValid
>>> + "For use in the when:evaluate: protocol, i.e.,
>>> + foo when: #bar evaluate:[self handleBar].
>>> + Return true."
>>> + ^true!
>>>
>>> Item was added:
>>> + ----- Method: BlockClosure>>asMinimalRepresentation (in category
>>> 'events-support') -----
>>> + asMinimalRepresentation
>>> + "For use in the when:evaluate: protocol, i.e.,
>>> + foo when: #bar evaluate:[self handleBar].
>>> + Return the receiver."
>>> + ^true!
>>>
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: BlockClosure>>isValid

Henrik Sperre Johansen
And asMinimalRepresentation is implemented ^self in Pharo already, so  
you can close 1091 ;)

Cheers
Henry


On Aug 27, 2009, at 9:35 10AM, Stéphane Ducasse wrote:

> Thanks henrik!
> this is exactly the kind of feedback I want to log
> One left to do :)
>
> Stef
>
> On Aug 27, 2009, at 9:20 AM, Henrik Johansen wrote:
>
>> This was done months ago shortly after closures were introduced, to
>> make Polymorph work.
>>
>> The associated tests might be nice to have in Pharo as well though :)
>>
>> Cheers,
>> Henry
>>
>> On Aug 27, 2009, at 8:47 17AM, Stéphane Ducasse wrote:
>>
>>>
>>>
>>> Begin forwarded message:
>>>
>>>> From: [hidden email]
>>>> Date: August 27, 2009 6:02:12 AM CEDT
>>>> To: [hidden email]
>>>> Subject: [squeak-dev] The Trunk: Kernel-ar.230.mcz
>>>> Reply-To: [hidden email]
>>>>
>>>> Andreas Raab uploaded a new version of Kernel to project The Trunk:
>>>> http://source.squeak.org/trunk/Kernel-ar.230.mcz
>>>>
>>>> ==================== Summary ====================
>>>>
>>>> Name: Kernel-ar.230
>>>> Author: ar
>>>> Time: 26 August 2009, 9:01:37 am
>>>> UUID: d0759469-14fd-2c40-a5bd-90aab36cd9a5
>>>> Ancestors: Kernel-ar.229
>>>>
>>>> Implementations for BlockClosure>>isValid and
>>>> asMinimalRepresentation for compatibility of BlockClosure with the
>>>> when:evaluate: protocol.
>>>>
>>>> =============== Diff against Kernel-ar.229 ===============
>>>>
>>>> Item was added:
>>>> + ----- Method: BlockClosure>>isValid (in category 'events-
>>>> support')
>>>> -----
>>>> + isValid
>>>> + "For use in the when:evaluate: protocol, i.e.,
>>>> + foo when: #bar evaluate:[self handleBar].
>>>> + Return true."
>>>> + ^true!
>>>>
>>>> Item was added:
>>>> + ----- Method: BlockClosure>>asMinimalRepresentation (in category
>>>> 'events-support') -----
>>>> + asMinimalRepresentation
>>>> + "For use in the when:evaluate: protocol, i.e.,
>>>> + foo when: #bar evaluate:[self handleBar].
>>>> + Return the receiver."
>>>> + ^true!
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: BlockClosure>>isValid

Stéphane Ducasse
done!
This is great!
I will continue to log the changes and like that we can check that  
fast and focus on the cool ones.
Adrian got some problems yesterday for integration so I'm holding the  
horses :)

Stef

> And asMinimalRepresentation is implemented ^self in Pharo already, so
> you can close 1091 ;)
>
> Cheers
> Henry
>
>
> On Aug 27, 2009, at 9:35 10AM, Stéphane Ducasse wrote:
>
>> Thanks henrik!
>> this is exactly the kind of feedback I want to log
>> One left to do :)
>>
>> Stef
>>
>> On Aug 27, 2009, at 9:20 AM, Henrik Johansen wrote:
>>
>>> This was done months ago shortly after closures were introduced, to
>>> make Polymorph work.
>>>
>>> The associated tests might be nice to have in Pharo as well  
>>> though :)
>>>
>>> Cheers,
>>> Henry
>>>
>>> On Aug 27, 2009, at 8:47 17AM, Stéphane Ducasse wrote:
>>>
>>>>
>>>>
>>>> Begin forwarded message:
>>>>
>>>>> From: [hidden email]
>>>>> Date: August 27, 2009 6:02:12 AM CEDT
>>>>> To: [hidden email]
>>>>> Subject: [squeak-dev] The Trunk: Kernel-ar.230.mcz
>>>>> Reply-To: [hidden email]
>>>>>
>>>>> Andreas Raab uploaded a new version of Kernel to project The  
>>>>> Trunk:
>>>>> http://source.squeak.org/trunk/Kernel-ar.230.mcz
>>>>>
>>>>> ==================== Summary ====================
>>>>>
>>>>> Name: Kernel-ar.230
>>>>> Author: ar
>>>>> Time: 26 August 2009, 9:01:37 am
>>>>> UUID: d0759469-14fd-2c40-a5bd-90aab36cd9a5
>>>>> Ancestors: Kernel-ar.229
>>>>>
>>>>> Implementations for BlockClosure>>isValid and
>>>>> asMinimalRepresentation for compatibility of BlockClosure with the
>>>>> when:evaluate: protocol.
>>>>>
>>>>> =============== Diff against Kernel-ar.229 ===============
>>>>>
>>>>> Item was added:
>>>>> + ----- Method: BlockClosure>>isValid (in category 'events-
>>>>> support')
>>>>> -----
>>>>> + isValid
>>>>> + "For use in the when:evaluate: protocol, i.e.,
>>>>> + foo when: #bar evaluate:[self handleBar].
>>>>> + Return true."
>>>>> + ^true!
>>>>>
>>>>> Item was added:
>>>>> + ----- Method: BlockClosure>>asMinimalRepresentation (in category
>>>>> 'events-support') -----
>>>>> + asMinimalRepresentation
>>>>> + "For use in the when:evaluate: protocol, i.e.,
>>>>> + foo when: #bar evaluate:[self handleBar].
>>>>> + Return the receiver."
>>>>> + ^true!
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project