|
|
|
|
|
by bcoates
4948 days ago
|
|
You're right, it looks like co-induction the term for what I was thinking. Is it a common FP technique to do local-state-less looping like that? I would expect a tail-recursion solution to pass the next or previous value rather than re-deriving it from reading the output. |
|