[GHC] #3399: Generalize the type of Data.List.{deleteBy,
deleteFirstsBy}
GHC
trac at galois.com
Mon Jul 27 13:36:45 EDT 2009
#3399: Generalize the type of Data.List.{deleteBy, deleteFirstsBy}
------------------------------+---------------------------------------------
Reporter: iago | Owner:
Type: proposal | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.10.4
Severity: normal | Resolution:
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by iago):
Sorry, the example was wrong, it should be
{{{
deleteBy (\x -> (x ==) . fst) 1 [(1,'a'), (2, 'b')]
}}}
or
{{{
deleteBy ((==) . fst) (1,'a') [1,2]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3399#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list