<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&nbsp;&nbsp;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&nbsp;:<br><br></div><blockquote type="cite"><div><div style="font-size: 13px;color: #000000;font-family: arial,sans-serif;">Thanks, Bert.&nbsp;The hard part was to get etoysinbox added as a repository. The upload took place, AFIK.<br><br>- Dan<br>-----Original Message-----<br>&gt;From: Bert Freudenberg <bert@freudenbergs.de><br>&gt;Sent: Oct 4, 2014 1:09 PM<br>&gt;To: "A friendly place to get answers to even the most basic questions about<br>&gt; Squeak." <beginners@lists.squeakfoundation.org><br>&gt;Subject: Re: [Newbies] Terse Guide to Squeak<br>&gt;<br>&gt;On 04.10.2014, at 18:56, <summae3443@mypacks.net><summae3443@mypacks.net>wrote:<br>&gt;<br>&gt;&gt; When I tried to program a table lookup using the usually very helpful Terse Guide, I noticed a couple of things...<br>&gt;&gt; <br>&gt;&gt; 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>&gt;&gt; <br>&gt;&gt; 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&gt;&gt;findFirst: which is useful for table lookups.<br>&gt;&gt; <br>&gt;&gt; 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>&gt;<br>&gt;<br>&gt;You submit the changed package via Monticello.<br>&gt;<br>&gt;I made a how-to video a while ago, the relevant part is from 1:20 to 4:00:<br>&gt;<br>&gt; <a href="https://www.youtube.com/watch?v=2QKmfI4taGo#t=1m20s">https://www.youtube.com/watch?v=2QKmfI4taGo#t=1m20s</a><br>&gt;<br>&gt;This is for Etoys, but the difference is really just the repository names - you submit to "inbox". Should only take 3 minutes :)<br>&gt;<br>&gt;- Bert -<br>&gt;<br>&gt;<br>&gt;<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>