zekefast (Zeke Fast)
- Login: zekefast
- Email: zekefast@gmail.com
- Registered on: 04/10/2014
- Last sign in: 04/11/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
04/11/2014
-
06:41 AM Ruby Bug #9723: #size does not trigger evaluation of lazy enumerator.
- Thank you!
04/10/2014
-
09:46 AM Ruby Bug #9723 (Rejected): #size does not trigger evaluation of lazy enumerator.
- Here is the code which shows weird behariour
### Steps to reproduce
`$ irb
2.1.1 :001 > [1, 2, 3].lazy.select{ |e| e%2 == 1}.size
=> nil
2.1.1 :002 > [1, 2, 3].lazy.select{ |e| e%2 == 1}.to_a
=> [1, 3]
2.1.1 :003 > [1, 2, 3]...