×
Copy
Open
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
LAZY LIST WITH GENERATOR AND ITERATOR Joe Wang
Slide 2
Slide 2 text
Lazy List in Haskell Examples:
Slide 3
Slide 3 text
Can we do the same thing in JavaScript? Is there any structure is lazy in JavaScript?
Slide 4
Slide 4 text
Lazy In JavaScript Function call
Slide 5
Slide 5 text
Lazy In JavaScript Generator
Slide 6
Slide 6 text
The Structure of Lazy List LAZY LIST SEQUENCE ITERATOR https://github.com/dtao/lazy.js 5000+star
Slide 7
Slide 7 text
Iterable Interfaces
Slide 8
Slide 8 text
Iterable ITERABLE Array String Map Set for…of… …itor Array.from
Slide 9
Slide 9 text
Infinite Fibonacci
Slide 10
Slide 10 text
Generator
Slide 11
Slide 11 text
Generator - repeat
Slide 12
Slide 12 text
Generator - iterate
Slide 13
Slide 13 text
Generator - cycle
Slide 14
Slide 14 text
Generator - map/filter
Slide 15
Slide 15 text
Generator - take
Slide 16
Slide 16 text
Generator - take
Slide 17
Slide 17 text
Usage
Slide 18
Slide 18 text
Usage
Slide 19
Slide 19 text
Usage
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
let’s wrap it
Slide 22
Slide 22 text
The End https://github.com/nodew/lazyList