#3298: Add swap to Data.Tuple
------------------------------+---------------------------------------------
 Reporter:  r6                |          Owner:                  
     Type:  proposal          |         Status:  new             
 Priority:  normal            |      Milestone:                  
Component:  libraries/base    |        Version:  6.10.2          
 Severity:  normal            |     Resolution:                  
 Keywords:                    |       Testcase:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by YitzGale):

 I wrote:

 > That supports your choice of the lazy version as unprimed.

 I now retract that comment, based on discussion in
 the thread on haskell-cafe:

 http://www.haskell.org/pipermail/haskell-cafe/2009-June/062772.html

 I now support the addition of only the strict version:

 {{{
 swap (a, b) = (b, a)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3298#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to