Re: [F-Script-talk] Select method
Brought to you by:
pmougin
From: Arcadio R. G. <arc...@gm...> - 2008-06-06 16:11:26
|
Oh, I missed that section. Thanks a lot. El 06/06/2008, a las 18:07, Ken Ferry escribió: > 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 >> > > ------------------------------------------------------------------------- > 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 |