#1996: Make "swap" a top-level function
--------------------------------+-------------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.2
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
--------------------------------+-------------------------------------------
In the module,Control.Arrow, in the definition for second, there is a
utility function defined: swap, which takes a pair, and returns a pair
with the first and second members in opposite places. I would like to see
that function broken out of the Control.Arrow module, and made a top-level
function in the Data.Tuple module.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1996>
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