Diagonalization/ dupe for monads and tuples?
Oliver Charles
ollie at ocharles.org.uk
Thu Sep 17 07:44:45 UTC 2020
Regardless of having a more abstract version, I'm +1 on Jon's suggestion, and those names. fromEither is something I have reached for many many times and been surprised it's not within arms reach.
On Thu, 17 Sep 2020, at 7:16 AM, Jon Purdy wrote:
> Iām strongly for these:
>
> Data.Tuple.dup :: a ā (a, a)
>
> Data.Either.fromEither :: Either a a ā a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20200917/ec266463/attachment.html>
More information about the Libraries
mailing list