[ANSI-Smalltalk] A list of interesting methods, not present in the ANSI standard

Andres Valloud andres.valloud at gmail.com
Sun Mar 16 20:37:36 GMT 2008


Hello.

I decided to go after the messages in Object first.  Out of the list, which
I reproduce below,

Object class>>initialize
Object>>=
Object>>==
Object>>addDependent:
Object>>allOwners
Object>>become:
Object>>broadcast:
Object>>broadcast:with:
Object>>broadcast:with:with:
Object>>broadcast:withArguments:
Object>>broadcast:withBlock:
Object>>changed
Object>>changed:
Object>>copy
Object>>deepCopy
Object>>dependents
Object>>displayOn:
Object>>displayString
Object>>ifNil:
Object>>ifNil:ifNotNil:
Object>>ifNotNil:
Object>>ifNotNil:ifNil:
Object>>instVarAt:
Object>>instVarAt:put:
Object>>isReadOnly
Object>>makeReadOnly:
Object>>perform:
Object>>postCopy
Object>>release
Object>>removeDependent:
Object>>shallowCopy
Object>>storeLiteralOn:
Object>>storeOn:
Object>>storeString
Object>>update:


I think the following ones are good candidates for discussion.  Since the
list includes = and ==, I added hash and identityHash.

Object>>=
Object>>==
Object>>hash
Object>>identityHash
Object>>become:
Object>>ifNil:
Object>>ifNil:ifNotNil:
Object>>ifNotNil:
Object>>ifNotNil:ifNil:
Object>>instVarAt:
Object>>instVarAt:put:
Object>>perform:

Once we are done with these, we could move on to other things.

Thoughts?
Andres.


On Mon, Mar 10, 2008 at 2:43 AM, Paolo Bonzini <bonzini at gnu.org> wrote:

> ArrayedCollection class>>join:
> ArrayedCollection class>>join:separatedBy:
> ArrayedCollection class>>new:withAll:
> ArrayedCollection class>>streamContents:
> ArrayedCollection>>gather:
> ArrayedCollection>>writeStream
> Association class>>key:value:
> Association>>=
> Association>>hash
> Association>>key
> Association>>key:
> Association>>key:value:
> Association>>value
> Association>>value:
> Bag>>sortedByCount
> Character>>isSeparator
> CharacterArray class>>lineDelimiter
> CharacterArray>>%
> CharacterArray>>asInteger
> CharacterArray>>asNumber
> CharacterArray>>bindWith:
> CharacterArray>>bindWith:with:
> CharacterArray>>bindWith:with:with:
> CharacterArray>>bindWith:with:with:with:
> CharacterArray>>bindWithArguments:
> CharacterArray>>contractTo:
> CharacterArray>>encoding
> CharacterArray>>lines
> CharacterArray>>linesDo:
> CharacterArray>>numberOfCharacters
> CharacterArray>>subStrings
> CharacterArray>>subStrings:
> CharacterArray>>trimSeparators
> CharacterArray>>valueAt:
> CharacterArray>>valueAt:put:
> Collection class>>join:
> Collection>>anyOne
> Collection>>copyReplacing:withObject:
> Collection>>copyWith:
> Collection>>copyWithout:
> Collection>>count:
> Collection>>empty
> Collection>>fold:
> Collection>>gather:
> Collection>>identityIncludes:
> Collection>>isEmpty
> Collection>>isSequenceable
> Collection>>noneSatisfy:
> Collection>>notEmpty
> Collection>>occurrencesOf:
> Collection>>removeAll:
> Collection>>removeAll:ifAbsent:
> Collection>>removeAllSuchThat:
> Collection>>size
> DateTime class>>date:time:
> DateTime class>>date:time:offset:
> Dictionary>>associations
> Dictionary>>at:ifPresent:
> DirectedMessage class>>receiver:selector:
> DirectedMessage class>>receiver:selector:Dirument:
> DirectedMessage class>>receiver:selector:arguments:
> DirectedMessage class>>selector:arguments:
> DirectedMessage class>>selector:arguments:receiver:
> DirectedMessage>>printOn:
> DirectedMessage>>receiver
> DirectedMessage>>receiver:
> DirectedMessage>>send
> DirectedMessage>>value
> Duration class>>hours:
> Duration class>>hours:minutes:seconds:
> Duration class>>minutes:
> IdentitySet>>identityIncludes:
> Integer class>>readFrom:radix:
> Integer>>alignTo:
> Integer>>asCharacter
> Integer>>binomial:
> Integer>>bitClear:
> Integer>>bitInvert
> Integer>>ceilingLog:
> Integer>>digitAt:
> Integer>>digitAt:put:
> Integer>>floorLog:
> Integer>>highBit
> Integer>>lowBit
> Integer>>radix
> Message class>>selector:argument:
> Message class>>selector:arguments:
> Message>>argument
> Message>>arguments
> Message>>arguments:
> Message>>printOn:
> Message>>selector
> Message>>selector:
> Message>>sendTo:
> Number class>>readFrom:
> Number>>ceilingLog:
> Number>>floorLog:
> Number>>asExactFraction
> Number>>isRational
> Number>>to:by:collect:
> Number>>to:collect:
> Number>>withSignOf:
> Object class>>initialize
> Object>>=
> Object>>==
> Object>>addDependent:
> Object>>allOwners
> Object>>become:
> Object>>broadcast:
> Object>>broadcast:with:
> Object>>broadcast:with:with:
> Object>>broadcast:withArguments:
> Object>>broadcast:withBlock:
> Object>>changed
> Object>>changed:
> Object>>copy
> Object>>deepCopy
> Object>>dependents
> Object>>displayOn:
> Object>>displayString
> Object>>ifNil:
> Object>>ifNil:ifNotNil:
> Object>>ifNotNil:
> Object>>ifNotNil:ifNil:
> Object>>instVarAt:
> Object>>instVarAt:put:
> Object>>isReadOnly
> Object>>makeReadOnly:
> Object>>perform:
> Object>>postCopy
> Object>>release
> Object>>removeDependent:
> Object>>shallowCopy
> Object>>storeLiteralOn:
> Object>>storeOn:
> Object>>storeString
> Object>>update:
> PositionableStream>>copyFrom:to:
> Random class>>between:and:
> Random class>>new
> Random class>>next
> Random class>>seed:
> Random class>>source
> Random>>atEnd
> Random>>between:and:
> Random>>next
> Random>>nextPut:
> Random>>seed:
> Random>>setSeed
> SequenceableCollection class>>join:separatedBy:
> SequenceableCollection>>allButFirst
> SequenceableCollection>>allButFirst:
> SequenceableCollection>>allButLast
> SequenceableCollection>>allButLast:
> SequenceableCollection>>atAll:
> SequenceableCollection>>atRandom
> SequenceableCollection>>copyAfter:
> SequenceableCollection>>copyAfterLast:
> SequenceableCollection>>copyFrom:
> SequenceableCollection>>copyReplaceFrom:to:withObject:
> SequenceableCollection>>copyUpTo:
> SequenceableCollection>>copyUpToLast:
> SequenceableCollection>>endsWith:
> SequenceableCollection>>first:
> SequenceableCollection>>fourth
> SequenceableCollection>>identityIndexOf:
> SequenceableCollection>>identityIndexOf:ifAbsent:
> SequenceableCollection>>identityIndexOf:startingAt:
> SequenceableCollection>>identityIndexOf:startingAt:ifAbsent:
> SequenceableCollection>>identityIndexOfLast:ifAbsent:
> SequenceableCollection>>indexOf:
> SequenceableCollection>>indexOf:ifAbsent:
> SequenceableCollection>>indexOf:startingAt:
> SequenceableCollection>>indexOf:startingAt:ifAbsent:
> SequenceableCollection>>indexOfLast:ifAbsent:
> SequenceableCollection>>indexOfSubCollection:
> SequenceableCollection>>indexOfSubCollection:ifAbsent:
> SequenceableCollection>>isSequenceable
> SequenceableCollection>>join
> SequenceableCollection>>join:
> SequenceableCollection>>keys
> SequenceableCollection>>last:
> SequenceableCollection>>readStream
> SequenceableCollection>>readWriteStream
> SequenceableCollection>>replaceAll:with:
> SequenceableCollection>>second
> SequenceableCollection>>sort
> SequenceableCollection>>sortBy:
> SequenceableCollection>>startsWith:
> SequenceableCollection>>third
> SequenceableCollection>>with:
> SequenceableCollection>>with:collect:
> SequenceableCollection>>with:with:
> SequenceableCollection>>with:with:with:
> Set>>&
> Set>>+
> Set>>-
> Set>><
> Set>><=
> Set>>>
> Set>>>=
> Stream>><<
> Stream>>atEnd
> Stream>>display:
> Stream>>do:
> Stream>>flush
> Stream>>fold:
> Stream>>inject:into:
> Stream>>isSequenceable
> Stream>>linesDo:
> Stream>>next:put:
> Stream>>next:putAll:startingAt:
> Stream>>nextLine
> Stream>>nextPutAll:
> Stream>>nextPutAllFlush:
> Stream>>readStream
> Stream>>skipToAll:
> Stream>>store:
> Stream>>upTo:
> Stream>>upToEnd
> UndefinedObject>>ifNil:
> UndefinedObject>>ifNil:ifNotNil:
> UndefinedObject>>ifNotNil:
> UndefinedObject>>ifNotNil:ifNil:
> WriteStream>>readStream
>
> _______________________________________________
> ANSI-Smalltalk mailing list
> ANSI-Smalltalk at lists.openskills.org
> http://lists.openskills.org/cgi-bin/mailman/listinfo/ansi-smalltalk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openskills.org/pipermail/ansi-smalltalk/attachments/20080316/3fb7e8aa/attachment.html


More information about the ANSI-Smalltalk mailing list