Not likely. I don't think there's really any way to make it very friendly to lists. Remember that the "accumulator" here is a *function*. Forcing that function isn't likely to do you any good. foldrM is mainly for containers that can be traversed from right to left anyways.

On Tue, Aug 6, 2019, 9:58 AM Dannyu NDos <ndospark320@gmail.com> wrote:
Wouldn't it be friendlier to list structures if foldl' was used instead of foldl?
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries