From: chowlett09@... Date: 2020-11-26T16:12:49+00:00 Subject: [ruby-core:101100] [Ruby master Feature#17347] Enumerator::Chain of Enumerator::Lazy should be lazy Issue #17347 has been reported by asilano (Chris Howlett). ---------------------------------------- Feature #17347: Enumerator::Chain of Enumerator::Lazy should be lazy https://bugs.ruby-lang.org/issues/17347 * Author: asilano (Chris Howlett) * Status: Open * Priority: Normal ---------------------------------------- ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux] Consider the following script: ``` ruby a = [1,2,3].lazy p a b = [4,5,6].lazy p b c = a + b p c ``` This gives the output: ``` # # #, #]> ``` Note that `c` is just `Enumerator::Chain`; but all its component enumerators are lazy, so it would be nice if `c` were lazy. That is, I'd like the output to be: ``` # # #, #]>> ``` -- https://bugs.ruby-lang.org/ Unsubscribe: