5 ms·
I really prefer working with functional transformations over containers (including iterators).
by henron 4y ago
I really prefer working with functional transformations over containers (including iterators).
- saeranv 4y agoWhat's a functional transformation?
- ghostwriter 4y agofmap, fold, traverse, join
- saeranv 4y agoI 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.
- yababa_y 4y agofunction as in functional programmi ng. https://youtu.be/2MXyNS33t2k https://youtu.be/2MXyNS33t2k is an indepth video on how c++ and haskell sequence transformations work and contrast.