From: Madan Manoharan Date: 2006-05-19T00:37:08+09:00 Subject: Re: [OT] Partial functions? ------=_Part_65830_7276394.1147966625968 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 5/18/06, Joe Bowers wrote: > > Partials are great for deferring part of a computation > until later- they're useful in some of the same circumstances > as closures. They're also really easy to use in ruby already. > > def multiply(x, y); x * y; end > > multiply_by_3 =3D lambda { |x| multiply(3, x) } > > Yesterday* Brian Mitchell *introduced me to the work of *MenTaLguY* where h= e talks about 'Promise' and 'Future'; Future sounds very similar to partial functions. http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/6956dd6e= 4a00258 ------=_Part_65830_7276394.1147966625968--