Streams in Haskell
All lists are automatically streams!
head, tail fields of a list structure won’t be evaluated until they are demanded by some client of the list
Lazy evaluation holds for all data structures in the same way
Previous slide
Next slide
Back to first slide
View graphic version