elixir-lang/elixir — pull request #1521 by ericmj (2013-07-31 23:25:10+00:00)
Title: Fix Stream bugs and add more composing tests

Fix Stream.take_while looping infinitely when given lazy stream.
Fix Stream.take and Stream.take_while calling fun one extra time.
Add more tests where Stream functions are given streams.