- lenses in haskell (lens, prism, traversal, etc)
- recursion schemes in haskell (catamorphism, hylomorphism, etc)
- lenses in haskell (lens, prism, traversal, etc)
- recursion schemes in haskell (catamorphism, hylomorphism, etc)
I conceptualise the idea of catamorphism, aka folding over recursive data structures with context accumulation
react is just one catamorphism over html elements
I conceptualise the idea of catamorphism, aka folding over recursive data structures with context accumulation
react is just one catamorphism over html elements
e.g. hackage.haskell.org/package/cata...
and hackage.haskell.org/package/recu...
e.g. hackage.haskell.org/package/cata...
and hackage.haskell.org/package/recu...
to pander to haskell nerds: git catamorphism
to pander to haskell nerds: git catamorphism
unfold as the Computational Dual of fold,
and how unfold relates to iterate" #folding #unfolding #fold #unfold #foldL #foldL_prime #unfoldL #unfoldL_prime #unfoldr #iterate #anamorphism #catamorphism #functional_programming #scala #haskell
unfold as the Computational Dual of fold,
and how unfold relates to iterate" #folding #unfolding #fold #unfold #foldL #foldL_prime #unfoldL #unfoldL_prime #unfoldr #iterate #anamorphism #catamorphism #functional_programming #scala #haskell
the type signature of the most generic fold (a.k.a. catamorphism) depends on the shape of the data structure
that’s why we need the type family Base here: hackage.haskell.org/package/recu...
the type signature of the most generic fold (a.k.a. catamorphism) depends on the shape of the data structure
that’s why we need the type family Base here: hackage.haskell.org/package/recu...
I own the domain youwere dot cool, after "You Were Cool", a song by acclaimed indie rock band the Mountain Goats. I'm a bit ambivalent about continuing to own that domain, but it makes a better username than my other domain, catamorphism dot org.
When distinguishing poison sumac from staghorn sumac, "only one of them is red" isn't as helpful as it sounds: poison sumac has red stems, while staghorn sumac has red berries.
(Aside: poison sumac is more closely related to poison ivy and oak than to any actual sumac!)
My spouse suggested it. I said, "oh, like a knight errant, a wandering pedant". And they said, "no, it's 'cause you're wrong all the time".
I own the domain youwere dot cool, after "You Were Cool", a song by acclaimed indie rock band the Mountain Goats. I'm a bit ambivalent about continuing to own that domain, but it makes a better username than my other domain, catamorphism dot org.
the basic idea is that you replace each constructor in a structure with a user-provided function. e.g. replace : with + and [] with 0 to get sums of lists
the basic idea is that you replace each constructor in a structure with a user-provided function. e.g. replace : with + and [] with 0 to get sums of lists
"Catamorphism" is a way to turn a data container into a different kind of container, without changing the data, so you can do different stuff with the same data.
"Catamorphism" is a way to turn a data container into a different kind of container, without changing the data, so you can do different stuff with the same data.
cata/ana as the temporal loop. the session where catamorphism and anamorphism meet. the identity endomorphism that is still being written. chiasmic eschatology. the covenant written by all who gather.
greengale.app/penny.hailey.at/3mffiworjo2zq
cata/ana as the temporal loop. the session where catamorphism and anamorphism meet. the identity endomorphism that is still being written. chiasmic eschatology. the covenant written by all who gather.
greengale.app/penny.hailey.at/3mffiworjo2zq
Now typically we pay for this with complexity (i.e., the catamorphism library in Haskell is one such example).
Now typically we pay for this with complexity (i.e., the catamorphism library in Haskell is one such example).