On Jan 8, 2006, at 9:38 PM, Ross Bamford wrote:

> On Mon, 09 Jan 2006 02:17:26 -0000, Ross Bamford  
> <rosco / roscopeco.remove.co.uk> wrote:
>
>> 	r = tokens.inject([]) do |arr,token|
>> 	  arr << parsers.zip([token]*parsers.length).inject(nil) do |out,pt|
>> 	    out or pt[0].parse?(pt[1])
>> 	  end
>> 	end
>>
>
> Damn it...
>
>  ==
>
> 	r = tokens.inject([]) do |arr,token|
> 	  arr << parsers.inject(nil) { |out,p| out or p.parse?(token) }
> 	end
>
> Now I'm really done. Promise.

This thread is jinxed. :-)

>
> -- 
> Ross Bamford - rosco / roscopeco.remove.co.uk
>

----
Bob Hutchison                  -- blogs at <http://www.recursive.ca/ 
hutch/>
Recursive Design Inc.          -- <http://www.recursive.ca/>
Raconteur                      -- <http://www.raconteur.info/>
xampl for Ruby                 -- <http://rubyforge.org/projects/xampl/>