<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>And in the examples the conform: method doesn't exist in squeak<br><br>Envoyé de mon iPhone</div><div><br>Le 2014-10-04 à 21:36, <a href="mailto:summae3443@mypacks.net">summae3443@mypacks.net</a> a écrit :<br><br></div><blockquote type="cite"><div><div style="font-size: 13px;color: #000000;font-family: arial,sans-serif;">Thanks, Bert. The hard part was to get etoysinbox added as a repository. The upload took place, AFIK.<br><br>- Dan<br>-----Original Message-----<br>>From: Bert Freudenberg <bert@freudenbergs.de><br>>Sent: Oct 4, 2014 1:09 PM<br>>To: "A friendly place to get answers to even the most basic questions about<br>> Squeak." <beginners@lists.squeakfoundation.org><br>>Subject: Re: [Newbies] Terse Guide to Squeak<br>><br>>On 04.10.2014, at 18:56, <summae3443@mypacks.net><summae3443@mypacks.net>wrote:<br>><br>>> When I tried to program a table lookup using the usually very helpful Terse Guide, I noticed a couple of things...<br>>> <br>>> 1. The remark for detect: is "find position of first element that passes test" but it should be "return first element that passes test"<br>>> <br>>> 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.<br>>> <br>>> 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?<br>><br>><br>>You submit the changed package via Monticello.<br>><br>>I made a how-to video a while ago, the relevant part is from 1:20 to 4:00:<br>><br>> <a href="https://www.youtube.com/watch?v=2QKmfI4taGo#t=1m20s">https://www.youtube.com/watch?v=2QKmfI4taGo#t=1m20s</a><br>><br>>This is for Etoys, but the difference is really just the repository names - you submit to "inbox". Should only take 3 minutes :)<br>><br>>- Bert -<br>><br>><br>><br></summae3443@mypacks.net></summae3443@mypacks.net></beginners@lists.squeakfoundation.org></bert@freudenbergs.de></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Beginners mailing list</span><br><span><a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a></span><br><span><a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a></span><br></div></blockquote></body></html>