r/functionalprogramming • u/arkethos • Feb 04 '23
FP The B₁ and ϕ₁ Combinators
https://codereport.github.io/B1andPhi1/
25
Upvotes
r/functionalprogramming • u/arkethos • Feb 04 '23
3
u/unix-_ Feb 04 '23
Wouldn't
zipFoldbe a more adequate name for the Haskell version oftransform_reduce()? I would probably even suggestfoldZipsince that's the order in which you write the arguments (although the function will first apply the zip operator so it's probably also good as it is, I don't know how Haskell's naming convention handles this cases).4
u/benjaminhodgson Feb 05 '23
I wrote a different take on this some time ago! https://www.benjamin.pizza/posts/2018-01-10-zip-folding.html