2007-06-10 Stephen Compall * kernel/AbstNamespc.st: Document that #addSubspace: answers the new namespace, also referring to the argument. * kernel/SeqCollect.st: Fix doc example for #join usage. --- orig/kernel/AbstNamespc.st +++ mod/kernel/AbstNamespc.st @@ -257,7 +257,8 @@ !AbstractNamespace methodsFor: 'namespace hierarchy'! addSubspace: aSymbol - "Add aNamespace to the set of the receiver's subspaces" + "Create a namespace named aSymbol, add it to the receiver's + subspaces, and answer it." ^Namespace primNew: self name: aSymbol ! --- orig/kernel/SeqCollect.st +++ mod/kernel/SeqCollect.st @@ -563,7 +563,7 @@ my elements are more likely to share the desired properties than I am, such as in: - #('hello, ' 'world') flatten => 'hello, world'" + #('hello, ' 'world') join => 'hello, world'" ^self isEmpty ifTrue: [#()] ifFalse: [self first species join: self] ! !