Issue #15949 has been reported by shugo (Shugo Maeda).

----------------------------------------
Bug #15949: Enumerator::Lazy should support filter_map
https://bugs.ruby-lang.org/issues/15949

* Author: shugo (Shugo Maeda)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-06-21T06:29:29Z trunk 4149fd6078) [x86_64-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
filter_map has been added to Enumerable, but it's not supported by Enumerator::Lazy.

```
p (1..).lazy.filter_map { |i| i.even? && i.to_s }.first # never return
```




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>