foldrM definition

David Feuer david.feuer at gmail.com
Tue Aug 6 14:08:38 UTC 2019


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 at gmail.com> wrote:

> Wouldn't it be friendlier to list structures if foldl' was used instead of
> foldl?
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190806/228f3fe9/attachment.html>


More information about the Libraries mailing list