Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

迭代器 #8

Open
yii-iiy opened this issue Oct 27, 2023 · 1 comment
Open

迭代器 #8

yii-iiy opened this issue Oct 27, 2023 · 1 comment

Comments

@yii-iiy
Copy link
Collaborator

yii-iiy commented Oct 27, 2023

Iter 为 Seq 和 List 的界面,后两者都为 Lazy ,一个必然有终结一个必然没有,迭代器则是可以通过 take 把 前者转为后者。

设计变更为这样。

@yhm-amber
Copy link
Contributor

这样的意图应该是考虑到不 lazy 的 list 没发实现好吧。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants