Project

General

Profile

Actions

Feature #6305

closed

Lazy

Added by trans (Thomas Sawyer) about 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Assignee:
-
Target version:
[ruby-core:44395]

Description

I believe we discussed before but I couldn't find the issue, so I'll just bring it up again.

Might MenTaLguY's Lazy library make it's way into Ruby proper?

http://moonbase.rydia.net/software/lazy.rb/

https://github.com/mental/lazy

Updated by mame (Yusuke Endoh) about 12 years ago

  • Status changed from Open to Feedback

Explain why a gem does not work for you.

--
Yusuke Endoh

Updated by trans (Thomas Sawyer) about 12 years ago

That's kind of the thing about this actually. Because this library is a gem I am not using it even when I probably should be --or I am reinventing the wheel and probably in not the most robust fashion.

Also, since lazy enumeration is now being introduced to the language it seems like appropriate time to introduce general lazy features as well.

For use cases, Ruby Best Practices By Gregory T. Brown has a good chapter called "Laziness Can Be a Virtue".

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Feedback to Rejected

That's kind of the thing about this actually. Because this library is a gem I am not using it even when I probably should be --or I am reinventing the wheel and probably in not the most robust fashion.

Recently, we focus on "small Ruby" by moving stdlibs to gems because
adding a stdlib makes maintenance and release management hard.
2.0 will remove no stdlib for matz's compatibility policy, though.
Anyway, the reason you said is non-sense.

Personally, I understand you.
Picking wheat from chaff gems is not exciting work.
I suggested a separate "blessed" gem repository [ruby-core:26388]
for the reason, but I received a lot of hate.

Also, since lazy enumeration is now being introduced to the language it seems like appropriate time to introduce general lazy features as well.

I think it would be a better timing after lazy enumeration grows popular.

Please tell us if there is another "good" reason.

--
Yusuke Endoh

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0