Re:A crash course in Python “comprehensions” and “generators”
by saeranv on Saturday December 10, 2022 @12:00AM
(#33930022)
What's a functional transformation?
[ Parent
| on HN ]
Re:A crash course in Python “comprehensions” and “generators”
by ghostwriter on Saturday December 10, 2022 @06:51AM
(#33931794)
fmap, fold, traverse, join
Re:A crash course in Python “comprehensions” and “generators”
by saeranv on Saturday December 10, 2022 @10:55AM
(#33933645)
I guess I'm lacking some background to understand this.
So, I recognize fold, from the above operations ('reduce' in python), what makes it a "functional transformation"?
I'm googling function/functional transformations, and the results refer to translating, flipping or scaling a function, like transforming f(x) to f(x + 2) or f(x) + 2. It doesn't seem like it has anything to do with what you guys are referring to, but correct me if I'm wrong.
Re:A crash course in Python “comprehensions” and “generators”
by yababa_y on Saturday December 10, 2022 @11:16AM
(#33933800)
function as in functional programmi ng. https://youtu.be/2MXyNS33t2k is an indepth video on how c++ and haskell sequence transformations work and contrast.