[squeak-dev] The Trunk: Collections-eem.992.mcz
Marcel Taeumel
marcel.taeumel at hpi.de
Mon Mar 28 07:34:12 UTC 2022
Yes, please. You can directly group some of literals (and objects) that are already there.
Best,
Marcel
Am 26.03.2022 15:37:08 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
We don't illustrate some other features yet, though:
#(nesting (arrays ()))
1.2s3
Should we?
Best,
Christoph
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Dienstag, 1. März 2022 21:39:55
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: Collections-eem.992.mcz
Eliot Miranda uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-eem.992.mcz [http://source.squeak.org/trunk/Collections-eem.992.mcz]
==================== Summary ====================
Name: Collections-eem.992
Author: eem
Time: 1 March 2022, 12:39:53.850609 pm
UUID: 677dd86e-ae58-41d3-b125-af837d2cdb61
Ancestors: Collections-mt.991
Add some missing features to the imfamous postcard.
=============== Diff against Collections-mt.991 ===============
Item was changed:
----- Method: Text class>>codeSample (in category 'filler text') -----
codeSample
^ 'exampleWithNumber: x
"A method that illustrates every part of Smalltalk method syntax
including primitives. It has unary, binary, and keyboard messages,
declares arguments and temporaries, accesses a global variable
+ (but not an instance variable), uses literals (array, character, symbol,
+ string, integer, float, byte array), uses the pseudo variables nil, true,
+ false, self, super, and thisContext, shows that within a literal array
+ nil, true and false are symbols not pseudo variables, and has sequence,
+ assignment, return, cascade, and tuple (array) creation. It has both
+ zero argument and one argument blocks, and has a block temporary."
- (but not an instance variable), uses literals (array, character,
- symbol, string, integer, float), uses the pseudo variables true,
- false, nil, self, and super, and has sequence, assignment, return
- and cascade. It has both zero argument and one argument blocks."
<primitive: ''primitiveCopyBits'' module: #BitBltPlugin error: ec>
| y |
true & false not & (nil isNil) ifFalse: [self halt].
y := self size + super size.
+ #($a #a ''a'' "a" 1 1.0 nil true false), { #[65]. thisContext. nil. true. false }
+ do: [ :each | | class |
+ class := each class.
- #($a #a ''a'' "a" 1 1.0)
- do: [ :each |
Transcript
+ show: (class name);
- show: (each class name);
show: '' ''].
^ x < y'!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220328/d3644251/attachment.html>
More information about the Squeak-dev
mailing list
|