egison/egison-ruby — pull request #5 by antimon2 (2014-06-15 21:47:54+00:00)
Title: Add feature match_stream for (infinite) stream

Try to implement `match_stream`, like `match_all`, that treats not only finite lists (`Array` in Ruby), but also infinite lists (stream, `Enumerable` in Ruby).
Tested combination of finite range `(1..5)`, twin-primes (from infinite stream of prime-nums), and multiset/set of nats.
Please review this.