Back to Fpinscala

16.Hint

answerkey/laziness/16.hint.md

latest169 B
Original Source

The function can't be implemented using unfold, since unfold generates elements of the LazyList from left to right. It can be implemented using foldRight though.