<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 28, 2022 at 4:58 AM <<a href="mailto:christoph.thiede@student.hpi.uni-potsdam.de">christoph.thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Done via Collections-ct.998. :-)<br>
<br>
One more question:<br>
<br>
> shows that within a literal array nil, true, and false are symbols not pseudo variables<br>
<br>
Wait, is this even correct?<br>
<br>
    <font color="#000080">#</font><font color="#000000">(</font><font color="#800000">nil</font><font color="#000000"> </font><font color="#800000">true</font><font color="#000000"> </font><font color="#800000">false</font><font color="#000000">)</font><font color="#000000"> </font><font color="#000080">=</font><font color="#000000"> </font><font color="#000000">{</font><font color="#800000">nil</font><font color="#000000">.</font><font color="#000000"> </font><font color="#800000">true</font><font color="#000000">.</font><font color="#000000"> </font><font color="#800000">false</font><font color="#000000">}</font></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Yes.  It is part of the ANSI standard.  Sometime in the 90's it was judged that (#(nil true false) = (Array with: #nil with: #true with: #false)) was too confusing.</div><div class="gmail_default" style="font-size:small"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><font color="#808080"><i>Sent from </i></font><font color="#808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk" target="_blank"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></font><br>
<br>
On 2022-03-28T09:34:12+02:00, <a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a> wrote:<br>
<br>
> Yes, please. You can directly group some of literals (and objects) that are already there.<br>
> <br>
> Best,<br>
> Marcel<br>
> Am 26.03.2022 15:37:08 schrieb Thiede, Christoph <christoph.thiede at <a href="http://student.hpi.uni-potsdam.de" target="_blank">student.hpi.uni-potsdam.de</a>>:<br>
> We don't illustrate some other features yet, though:<br>
> <br>
> #(nesting (arrays ()))<br>
> <br>
> 1.2s3<br>
> <br>
> <br>
> Should we?<br>
> <br>
> Best,<br>
> Christoph<br>
> Von: Squeak-dev <squeak-dev-bounces at <a href="http://lists.squeakfoundation.org" target="_blank">lists.squeakfoundation.org</a>> im Auftrag von commits at <a href="http://source.squeak.org" target="_blank">source.squeak.org</a> <commits at <a href="http://source.squeak.org" target="_blank">source.squeak.org</a>><br>
> Gesendet: Dienstag, 1. März 2022 21:39:55<br>
> An: squeak-dev at <a href="http://lists.squeakfoundation.org" target="_blank">lists.squeakfoundation.org</a>; packages at <a href="http://lists.squeakfoundation.org" target="_blank">lists.squeakfoundation.org</a><br>
> Betreff: [squeak-dev] The Trunk: Collections-eem.992.mcz<br>
>  <br>
> Eliot Miranda uploaded a new version of Collections to project The Trunk:<br>
> <a href="http://source.squeak.org/trunk/Collections-eem.992.mcz" target="_blank">http://source.squeak.org/trunk/Collections-eem.992.mcz</a> [<a href="http://source.squeak.org/trunk/Collections-eem.992.mcz" target="_blank">http://source.squeak.org/trunk/Collections-eem.992.mcz</a>]<br>
> <br>
> ==================== Summary ====================<br>
> <br>
> Name: Collections-eem.992<br>
> Author: eem<br>
> Time: 1 March 2022, 12:39:53.850609 pm<br>
> UUID: 677dd86e-ae58-41d3-b125-af837d2cdb61<br>
> Ancestors: Collections-mt.991<br>
> <br>
> Add some missing features to the imfamous postcard.<br>
> <br>
> =============== Diff against Collections-mt.991 ===============<br>
> <br>
> Item was changed:<br>
>   ----- Method: Text class>>codeSample (in category 'filler text') -----<br>
>   codeSample<br>
>  <br>
>          ^ 'exampleWithNumber: x<br>
>          "A method that illustrates every part of Smalltalk method syntax<br>
>          including primitives. It has unary, binary, and keyboard messages,<br>
>          declares arguments and temporaries, accesses a global variable<br>
> +        (but not an instance variable), uses literals (array, character, symbol,<br>
> +        string, integer, float, byte array), uses the pseudo variables nil, true,<br>
> +        false, self, super, and thisContext, shows that within a literal array<br>
> +        nil, true and false are symbols not pseudo variables, and has sequence,<br>
> +        assignment, return, cascade, and tuple (array) creation. It has both<br>
> +        zero argument and one argument blocks, and has a block temporary."<br>
> -        (but not an instance variable), uses literals (array, character,<br>
> -        symbol, string, integer, float), uses the pseudo variables true,<br>
> -        false, nil, self, and super, and has sequence, assignment, return<br>
> -        and cascade. It has both zero argument and one argument blocks."<br>
>          <primitive: ''primitiveCopyBits'' module: #BitBltPlugin error: ec><br>
>          | y |<br>
>          true & false not & (nil isNil) ifFalse: [self halt].<br>
>          y := self size + super size.<br>
> +        #($a #a ''a'' "a" 1 1.0 nil true false), { #[65]. thisContext. nil. true. false }<br>
> +                do: [ :each | | class |<br>
> +                        class := each class.<br>
> -        #($a #a ''a'' "a" 1 1.0)<br>
> -                do: [ :each |<br>
>                          Transcript<br>
> +                                show: (class name);<br>
> -                                show: (each class name);<br>
>                                  show: '' ''].<br>
>          ^ x < y'!<br></blockquote><div> </div></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>