[Newbies] Terse Guide to Squeak
jgr.asselin at me.com
Sun Oct 5 15:24:46 UTC 2014
And in the examples the conform: method doesn't exist in squeak
Envoyé de mon iPhone
> Le 2014-10-04 à 21:36, summae3443 at mypacks.net a écrit :
> Thanks, Bert. The hard part was to get etoysinbox added as a repository. The upload took place, AFIK.
> - Dan
> -----Original Message-----
> >From: Bert Freudenberg
> >Sent: Oct 4, 2014 1:09 PM
> >To: "A friendly place to get answers to even the most basic questions about
> > Squeak."
> >Subject: Re: [Newbies] Terse Guide to Squeak
> >On 04.10.2014, at 18:56, wrote:
> >> When I tried to program a table lookup using the usually very helpful Terse Guide, I noticed a couple of things...
> >> 1. The remark for detect: is "find position of first element that passes test" but it should be "return first element that passes test"
> >> 2. There seems to be no alternative in the guide for finding the first element that passes a test. After some archaeology ;) I found SequenceableCollection>>findFirst: which is useful for table lookups.
> >> I updated TerseGuideHelp class to change the remark for detect: wherever it occurs and added findFirst: to Array, OrderedCollection, SortedCollection, and Interval. How can I contribute this to the All-In-One?
> >You submit the changed package via Monticello.
> >I made a how-to video a while ago, the relevant part is from 1:20 to 4:00:
> > https://www.youtube.com/watch?v=2QKmfI4taGo#t=1m20s
> >This is for Etoys, but the difference is really just the repository names - you submit to "inbox". Should only take 3 minutes :)
> >- Bert -
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners