Re: [F-Script-talk] Select method
Brought to you by:
pmougin
From: Ken F. <ken...@gm...> - 2008-06-06 16:07:25
|
Hi Arcadio, Not lame, but it is in the guide. Check out the "Smalltalk collection protocols & F-script" section for a comparison of F-script's patterns with typical smalltalk. > Smalltalk collection protocols: C select:[:e| e salary < 5000] > F-Script: C at: C salary < 5000 -Ken On Fri, Jun 6, 2008 at 8:39 AM, Arcadio Rubio García <arc...@gm...> wrote: > Hi everyone, > > I've started using F-Script 1 hour ago, so my question may be > completely lame. > > Where's the typical Smalltalk select method for collections. For > instance, I cannot see how to do: > > {1,2,3} select: [:e | e > 1] > > I couldn't find any information on the F-Script guide. > > > Thanks in advance. > > > A. Rubio > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk > |