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
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
14
11k
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
720
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.2k
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
170
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
360
GraphQL の onError と Nullability のこれから
quramy
0
210
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
200
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
190
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
Spec-driven Development with AI
simas
PRO
0
2.2k
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Marketing to machines
jonoalderson
1
6k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
670
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Chasing Engaging Ingredients in Design
codingconduct
0
390
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Git: the NoSQL Database
bkeepers
PRO
433
67k
GitHub's CSS Performance
jonrohan
1033
470k
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