Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lazy List With Generator and Iterator
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Joe Wang
August 19, 2018
Programming
760
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
220
An Introduction to Reactive Programming based on RxJS
nodew
0
62
ddd.pdf
nodew
0
220
An Introduction to Haskell
nodew
2
95
es6 proxy overview
nodew
1
77
Other Decks in Programming
See All in Programming
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
310
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
180
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.7k
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
200
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
7k
C# and C++ Interoperability - cho-dotnetnew
harukasao
0
290
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
400
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
160
スマートグラスで並列バイブコーディング
hyshu
0
210
Webフレームワークの ベンチマークについて
yusukebe
0
170
Featured
See All Featured
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
240
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
590
Speed Design
sergeychernyshev
33
1.9k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
440
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Designing for humans not robots
tammielis
254
26k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
My Coaching Mixtape
mlcsv
0
150
How to make the Groovebox
asonas
2
2.2k
The Limits of Empathy - UXLibs8
cassininazir
1
360
ラッコキーワード サービス紹介資料
rakko
1
3.7M
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
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