elixir-lang/elixir — pull request #1667 by betawaffle (2013-08-28 20:30:52+00:00)
Title: Fix Stream.take/2 and Stream.take_while/2 for Stream.Lazy

When an accumulator is thrown from a `Stream.Lazy` fun, it doesn't get unwrapped correctly for nested `Stream.Lazy`s.

Fixes #1664