smalltalk--backstage--2.2--patch-31, also attached. Fixes addSubspace:'s docstring as well as defining it to answer the new namespace, which is the behavior my code usually wants, something it already does, and that AbstractNamespace class>>#primNew:name: seems to go to extra trouble to support.
Also #join's doc still called it #flatten. -- ;;; Stephen Compall ** http://scompall.nocandysw.com/blog ** "Peta" is Greek for fifth; a petabyte is 10 to the fifth power, as well as fifth in line after kilo, mega, giga, and tera. -- Lee Gomes, performing every Wednesday in his tech column "Portals" on page B1 of The Wall Street Journal
2007-06-10 Stephen Compall <[EMAIL PROTECTED]>
* 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]
! !
signature.asc
Description: This is a digitally signed message part
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
