39 people like it.
Like the snippet!
Show's using the unfold function to create a sequence that terminates once some limit is passed.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: |
|
Link: | http://fssnip.net/z |
Posted: | 13 years ago |
Author: | Robert Pickering |
Tags: | lazy , seq , unfold |