We should have the equivalent functions working on linear lists (or list-like collections).
On base, this is usually done by lists Foldable instance. There is a current PR #126 which creates a linear Foldable class. However, it does require some design decisions to be made (see the discussion on the PR). This issue is here to make sure that we implement an alternative if we decide to not go ahead with that PR.
We should have the equivalent functions working on linear lists (or list-like collections).
On
base, this is usually done by listsFoldableinstance. There is a current PR #126 which creates a linearFoldableclass. However, it does require some design decisions to be made (see the discussion on the PR). This issue is here to make sure that we implement an alternative if we decide to not go ahead with that PR.