Show's using the unfold function to create a sequence that terminates once some limit is passed.
39 people like thisPosted: 13 years ago by Robert Pickering
fibonacci by Seq.Unfold
2 people like thisPosted: 12 years ago by Laco
Random walk on integers starting at zero. At each step, we either add or subtract one depending on a random coin flip. The code uses Seq.unfold to generate infinite sequence.
53 people like thisPosted: 13 years ago by James
Demonstrates how to use unfold to create a sequence of fibonacci numbers
5 people like thisPosted: 1 year ago by Dave Yost