On Fri, 16 Feb 2007, greg wrote: > A look through RAA and rubyforge doesn't show any functional > programming libraries, are there any that I haven't noticed? Any one > interested in starting functional.rb? Here are some functional > helpers I have used. > > class Object > def tap > yield self > return self > end > end why not harp:~ > cat a.rb class Object def tap &b instance_eval &b return self end end puts "foobar".tap{ gsub! /bar/, '' } #=> foo harp:~ > ruby a.rb foo ?? -a -- we can deny everything, except that we have the possibility of being better. simply reflect on that. - the dalai lama