![]() |
CPSC 429/529: Functional Programming |
![]() |
|||||||||||||||
![]() |
![]() |
![]() |
![]() Instructor: Carsten Schürmann Department of Computer Science Yale University Time: MWF 9:30-10:20 Room: AKW400 |
![]() |
![]() |
||||||||||||
|
![]() |
Lecture 10: Lazy Streams.Lazyness can be used to improve the efficieny of algorithms. We will see how Fibonacci numbers can be computed using lazy lists. The implementation is as elegant as it is fast. Why does it work so well? Because lazy lists can be used to memoize. Source Code:lazystreams.hsFurther Reading:Paul Hudak.
Previous lecture: Lecture 9
|
![]() |