[MacRuby-devel] [MacRuby] #745: README.rdoc has mistake in "Enumerable#p_findall" on "lib/dispach". And p_find_all causes an error.

MacRuby ruby-noreply at macosforge.org
Sat Jun 12 07:01:33 PDT 2010


#745: README.rdoc has mistake in "Enumerable#p_findall" on "lib/dispach". And
p_find_all causes an error.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 And a execution result of p_mapreduce doesn't become it according to a
 explanation.

 {{{
 $ cat p_mapreduce.rb
 require 'dispatch'

 p (0..4).p_mapreduce([], :concat) { |i| [10**i] } # => [1, 1000, 10, 100,
 10000]
 }}}

 {{{
 $ macruby p_mapreduce.rb
 nil
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/745#comment:4>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list