I have a couple of questions/enhancements to SwikiAction and friends, but what is the forum for that?
I recall mention of an mailing list, but is there a 'swiki swiki'?( I tried searching on the swiki but "everything" matches!)
Thanks, John
1) Getting rid of "Pragma no-cache". 2) How to honor <pre>, so that text is not double-spaced.
There is a Swiki Swiki at http://pbl.cc.gatech.edu/myswiki/ There is a mailing list, pws@cc.gatech.edu, with information on the Swiki Swiki.
I have posted a Zip of PowerPoint slides (soon to be BookMorphs, too -- probably next week) with more information on how PWS and PWS Swiki work. That's available at http://coweb.cc.gatech.edu:8888/cs2340/uploads/web-ppt.zip
Mark
I have a couple of questions/enhancements to SwikiAction and friends, but what is the forum for that?
I recall mention of an mailing list, but is there a 'swiki swiki'?( I tried searching on the swiki but "everything" matches!)
Thanks, John
- Getting rid of "Pragma no-cache".
- How to honor <pre>, so that text is not double-spaced.
-------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 (404) 894-5618 : Fax (404) 894-0673 : guzdial@cc.gatech.edu http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html
I was a bit disconcerted to find that
(1 to: 10) copy
answers an array, not an Interval.
Interestingly, the Interval copy method says:
copy "Return a copy of me. Override the superclass because my species is Array and copy, as inherited from SequenceableCollection, uses copyFrom:to:, which creates a new object of my species."
^self shallowCopy
Unfortunately, the comment is wrong -- perhaps it was right at some time in the past, but at present (2.7) it is shallowCopy that is overridden in SequencableCollection to use copyFrom:to:. So this copy method does not help.
In fact, it just repeats what is already inherited from Object, so it may as well be removed, along with the confusing comment.
The fix is to define shallowCopy in class Interval. But the only way that I can think of to get the version in class Object, is to write
shallowCopy ^ self perform: #shallowCopy withArguments: #() inSuperclass: Object.
This is pretty ugly, but does the right thing, even if it does it slowly. Is there a better suggestion from the list?
Andrew
squeak-dev@lists.squeakfoundation.org