D-Programming-Language/phobos — pull request #813 by monarchdodra (2012-09-24 10:01:03+00:00)
Title: Take tweaks

Just some tiny tweaks to avoid useless runtime checks for infinite ranges with Take.

Also:
*Re-enforced some asserts by checking empty vs _masAvailable
*Added verbosity to non-verbose asserts

Related: Why is the interface for takeExactly so poor? By lazyness or by design? Should I improve on it?