Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Lazy List With Generator and Iterator
Search
Joe Wang
August 19, 2018
Programming
780
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lazy List With Generator and Iterator
An Intro to lazy list implementation with generator and iterator.
Joe Wang
August 19, 2018
More Decks by Joe Wang
See All by Joe Wang
fastbuild-前端资源打包平台架构与设计及其他
nodew
0
260
An Introduction to Reactive Programming based on RxJS
nodew
0
70
ddd.pdf
nodew
0
240
An Introduction to Haskell
nodew
2
99
es6 proxy overview
nodew
1
84
Other Decks in Programming
See All in Programming
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
AI Augmentation Techniques with Liberty
ivargrimstad
1
340
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
510
Performance Optimization With LLMs
xleitix
0
240
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
3
1.7k
Spec-driven Development with AI
simas
PRO
0
2.2k
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
310
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
290
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
870
Getting Started with Vibe Coding
miccheng
0
180
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
1.1k
My Coaching Mixtape
mlcsv
0
380
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Deep Space Network (abreviated)
tonyrice
0
410
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
We Are The Robots
honzajavorek
0
430
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Transcript
LAZY LIST WITH GENERATOR AND ITERATOR Joe Wang
Lazy List in Haskell Examples:
Can we do the same thing in JavaScript? Is there
any structure is lazy in JavaScript?
Lazy In JavaScript Function call
Lazy In JavaScript Generator
The Structure of Lazy List LAZY LIST SEQUENCE ITERATOR https://github.com/dtao/lazy.js
5000+star
Iterable Interfaces
Iterable ITERABLE Array String Map Set for…of… …itor Array.from
Infinite Fibonacci
Generator
Generator - repeat
Generator - iterate
Generator - cycle
Generator - map/filter
Generator - take
Generator - take
Usage
Usage
Usage
None
let’s wrap it
The End https://github.com/nodew/lazyList