
6 Mar
2018
6 Mar
'18
3:19 p.m.
foldl1 on Foldable is not a friendly function :) You want Data.Foldable1 https://hackage.haskell.org/package/semigroupoids-5.2.1/docs/Data-Semigroup-... Note that this one is friendly. On 07/03/18 02:30, sonne wrote:
Good evening.
I notice Data.Foldable ain't got no `foldl1'`, while `foldl'` and `foldl1` are both there. Is there a reason? What will it take to have it introduced?
I refer to this specific version, which is to my understanding the latest to have been released: https://hackage.haskell.org/package/base-4.10.1.0/docs/Data-Foldable.html
Thank you. _______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries