Bad default bitraverse
David Feuer
david.feuer at gmail.com
Thu Apr 7 15:00:32 UTC 2022
Yes, this is a known issue and the default is being removed.
On Thu, Apr 7, 2022, 10:54 AM Keith <keith.wygant at gmail.com> wrote:
> The default `bitraverse` implementation should be removed.
>
> The default `bitraverse` is
> `bitraverse f g = bisequenceA . bimap f g`.
>
> But `bisequenceA` is an alias of `bisequence`, which in turn is
> `bitraverse id id`. Neither `bisequence` nor `bisequenceA` is a
> Bitraversable method, so they can't have alternative definitions.
>
> Sorry if this has already been mentioned.
>
> Sent from my phone with K-9 Mail.
> _______________________________________________
> 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/20220407/b0c6c477/attachment.html>
More information about the Libraries
mailing list