Scala recursion-scheme Projects
Generalized recursion schemes and traversals for Scala.Project mention: Ask HN: How has functional programming influenced your thinking? | news.ycombinator.com | 2023-01-16
I did work in Scala for a few years. We employed Cats, and even a bit of Matryoshka though most of the work I do today is in Python.
Nowadays I think about computational requirements in terms of relations among behavioral dependencies. Like, "I want to perform operation O on input A and return a B. To do this, I'll need a way to a -> b and a way to b -> b -> b." I often pass these behavioral dependencies in as arguments and it tends to make the inner core of my programs pretty abstract and built up as layers of specificity.
Zooming out nearly all the way, it makes me feel tethered in a qualitatively unique way to certain deep truths of the universe. In a Platonic sense, invoking certain ideas like a monad make me feel like I'm approaching the divine or at least one instantiation of a timeless universal that operates outside of material existence.
I'd imagine some mathematicians might see the universe in a similar way - one where immortal relations between ontological forms exist beyond time and space and at the same time can be threaded through the material world by intellectual observation and when those two meet a beautiful collision occurs.
recursion schemes for cats; to iterate is human, to recurse, divine
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Scala recursion-schemes related posts
Ask HN: How has functional programming influenced your thinking?
4 projects | news.ycombinator.com | 16 Jan 2023
Data Structure in Scala for a Recursive data type
1 project | /r/scala | 27 Mar 2021