[ANSI-Smalltalk] #peekFor:

Bruce Badger bwbadger at gmail.com
Wed Oct 1 08:28:27 BST 2008


Richard,

On 01/10/2008, Richard O'Keefe <ok at cs.otago.ac.nz> wrote:
...
>  I propose the following replacement for the definition:
>
>   Definition: <gettableStream>
>     If the receiver has no future sequence values,
>     returns false.  Otherwise, determines the result of
>     sending #= to the first object in the receiver's
>     future sequence values with anObject as the argument.
>     If that is false, return false with no change to the
>     receiver's state.  If #= answers true, the first
>     object is removed from the receiver's future sequence
>     values and appended to the end of the receiver's past
>     sequence values, then true is returned.

This makes sense to me, but we need somewhere to put it ...

So what we need here is s STEP that presents the existing ANSI
standard collection protocol and then a separate STEP which proposes a
delta (such as yours above).

Would you be up for owning there STEP documents? :-)

Best regards,
    Bruce
-- 
Make the most of your skills - with OpenSkills
http://www.openskills.org/



More information about the ANSI-Smalltalk mailing list