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
230
An Introduction to Reactive Programming based on RxJS
nodew
0
67
ddd.pdf
nodew
0
230
An Introduction to Haskell
nodew
2
96
es6 proxy overview
nodew
1
77
Other Decks in Programming
See All in Programming
FreeBSDでZabbixを動かす
kenkino
0
330
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
6
4.9k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
560
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
400
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
160
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.9k
Are APIs Still Relevant in the AI Era?
soyuka
0
320
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
250
AI活用は、個人から組織へ|マルチプレイヤーエージェントハーネス「QM」の社内活用事例 / AI use is moving from individuals to orgs
rkaga
1
260
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
520
一人だけ、Kiroが静止する日
hideg
0
130
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
410
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.9k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
250
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
490
Speed Design
sergeychernyshev
33
2.1k
Mobile First: as difficult as doing things right
swwweet
225
10k
The agentic SEO stack - context over prompts
schlessera
0
940
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
Building AI with AI
inesmontani
PRO
1
1.3k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
How to Ace a Technical Interview
jacobian
281
24k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
58k
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