Next Post
Unrecurse -- A Recursive Function That Doesn't Recurse
Jan 20, 2022
Have you ever wanted to write a recursive function and wondered what
would happen if someone took away recursion from Haskell? Say goodbye to
recursive function calls, say goodbye to recursive data types. How sad
Haskell would be without them! I'm sure that thought must have occured
to you -- if not, what are you even doing here?! Well, this article has
you covered should that day ever come. After reading it, you will know
how to write a recursive function that doesn't recurse.