General

Profile

nuzair46 (Nuzair Rasheed)

  • Login: nuzair46
  • Registered on: 07/24/2025
  • Last sign in: 08/05/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

08/21/2025

09:30 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
matz (Yukihiro Matsumoto) wrote in #note-11:
> I don't think `lazy_each` is a good name. We just wanted to peek the element in the stream, being lazy or not. In that sense, `tee` is better, if you are familiar with UNIX (like me).
> .....
nuzair46 (Nuzair Rasheed)
08:28 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
nobu (Nobuyoshi Nakada) wrote in #note-9:
> A couple days ago, another name came to me: `tee`.
Thanks, `tee` is a great fit. It’s short and feels very Unix-y. I will make changes to the PR and the proposal soon.
nuzair46 (Nuzair Rasheed)

08/05/2025

02:30 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
The PR is open for review https://github.com/ruby/ruby/pull/14024 nuzair46 (Nuzair Rasheed)

07/30/2025

05:42 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
updated to `lazy_each` nuzair46 (Nuzair Rasheed)

07/28/2025

02:44 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
nuzair46 (Nuzair Rasheed) wrote in #note-3:
> Enumerator#peek [works differently](https://docs.ruby-lang.org/ja/latest/method/Enumerator/i/peek.html) than this suggestion.
> ...
Running the whole CI, I see the collision with Enumerato...
nuzair46 (Nuzair Rasheed)

07/25/2025

03:31 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
Dan0042 (Daniel DeLorme) wrote in #note-2:
> #peek already exists, and does something different.
Hey, Enumerator#peek exists. but Enumerator::Lazy#peek does not.
Enumerator#peek [works differently](https://docs.ruby-lang.org/ja/late...
nuzair46 (Nuzair Rasheed)

07/24/2025

02:37 AM Ruby Feature #21520 (Open): Feature Proposal: Enumerator::Lazy#tee
# Abstract
Add a #tee method to Enumerator::Lazy that allows observing each element in a lazy enumeration pipeline without modifying or consuming the stream.
# Background
Ruby provides Enumerator::Lazy for efficient lazy stream ...
nuzair46 (Nuzair Rasheed)

Also available in: Atom