Fibers (Ruby 1.9)


#1

Hi list
I am just beginning fooling around with Fibers. Than I had this
impulsion, well #inject of course ;).

I would like to hear your opinions about Fiber#inject, I am specially
nervous about the
rescue FiberError in line 9.

http://pastie.org/321869

I would also like any pointers to advanced reading about fibers (or
maybe not that advanced, LOL).

Cheers
Robert


Ne baisse jamais la tête, tu ne verrais plus les étoiles.

Robert D. :wink:


#2

Let’s say no news is good news, here is the generalization of the
inject,

enumerables for Fibers

Enjoy

http://pastie.org/322750

Robert


Ne baisse jamais la tête, tu ne verrais plus les étoiles.

Robert D. :wink: