Join Slack
Powered by
why do fold and foldRight have their lambda parame...
# announcements
c
christophsturm
05/26/2021, 12:44 PM
why do fold and foldRight have their lambda parameters in a different order? (foldRight has acc first, and fold has it second)
r
Rob Elliot
05/26/2021, 12:50 PM
Is it meant to help you visualise the iteration order?
c
christophsturm
05/27/2021, 8:34 AM
possible. maybe its trying to tell me that fold is confusing enough for non fp people and that I should avoid foldRight
8
Views
Open in Slack
Previous
Next