Adding swap to Data.Tuple

Neil Mitchell ndmitchell at gmail.com
Tue Jun 16 11:51:18 EDT 2009


What is the need for swap' ? Things like foldl' solve space leaks,
what does swap' solve? I fully agree on the addition of swap.

Thanks, Neil

On Fri, Jun 12, 2009 at 10:10 PM, <roconnor at theorem.ca> wrote:
> I have a new proposal to add swap and swap' to Data.Tuple
>
> http://hackage.haskell.org/trac/ghc/ticket/3298
>
> --
> Russell O'Connor                                      <http://r6.ca/>
> ``All talk about `theft,''' the general counsel of the American Graphophone
> Company wrote, ``is the merest claptrap, for there exists no property in
> ideas musical, literary or artistic, except as defined by statute.''
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


More information about the Libraries mailing list