#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to