Is there a function \x -> (x, x) in standard libraries?

Vladislav Zavialov vladislav at serokell.io
Wed Jul 24 13:54:57 UTC 2019


map (\x->(x,x)) is quite a punctuation soup compared to ‘map dup’.

- Vlad

> On 24 Jul 2019, at 16:48, Cale Gibbard <cgibbard at gmail.com> wrote:
> 
> Does lambda not exist for a reason?
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries



More information about the Libraries mailing list