rtsisyk/luafun — pull request #1 by Sh4rK (2013-11-21 01:47:20+00:00)
Title: Method chaining

I implemented a little shim over iterators that allows using method chaining style, which in my opinion looks better, and is more understandable than the functional style because of the natural order of operations.

I didn't yet translate the test suite, but I tested it with a few things, and it seems to work; the generated assembly is the same, so it doesn't cause any slowdowns.

Let me know what you think! :)