Add Foldable1 and Bifoldable1 type classes
Closes #13573 (closed).
Adopted from https://github.com/phadej/foldable1 CLC discussion: https://github.com/haskell/core-libraries-committee/issues/9
CC @phadej
Closes #13573 (closed).
Adopted from https://github.com/phadej/foldable1 CLC discussion: https://github.com/haskell/core-libraries-committee/issues/9
CC @phadej