Adding dup to Data.Tuple?

David Feuer david.feuer at gmail.com
Sun Oct 28 04:47:38 UTC 2018


I'm not opposed. Should this be called dup or diagonal? What about larger
tuples?

Side note:
\x -> (x,x) = join (,)

On Sat, Oct 27, 2018, 6:03 PM Ivan Perez <ivan.perez at keera.co.uk> wrote:

> Dear all,
>
> The function \x -> (x,x) is very convenient when working with arrows.
>
> Would it be appropriate to add it to Data.Tuple?
>
> Cheers,
>
> Ivan
>
> _______________________________________________
> 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/20181028/5d789cbc/attachment.html>


More information about the Libraries mailing list