Over the weekend, I spent a couple of hours #reading through Patrick Thomson's series of blog posts on Recursion Schemes with #Haskell https://blog.sumtypeofway.com/posts/recursion-schemes-part-6.html, and it has been most helpful in understanding the topic. I have tried reading the docs of the eponymous package before, to no avail. That's why I love reading (and writing) #programming tutorials.

I downloaded the posts and converted them to an e-book for offline reading. It was over a hundred pages but it was so engrossing, I couldn't put it down! There are not many blog posts that I could say the same about. Definitely a recommended read if you are interested in #RecursionSchemes and #FunctionalProgramming.

adventures in uncertainty: Recursion Schemes, Part VI: Comonads, Composition, and Generality

programming with explicit recursion is like making a phone waterproof by gluing all its components together. There are so many reasons to separate the business logic of a function from its recursion behavior s.a. scans, (un)folding only to certain depth, combining traversals (via the banana split theorem)… The fact that we're used to this glued-together world makes us overlook all the possible uses of the components. #recursionschemes #genericprogramming