Re:A non-programmer’s solution to “Fizz Buzz”
by bcoates on Friday November 30, 2012 @05:16PM
(#4855762)
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.
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.