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?

 

Dan Norton