[GHC] #3399: Generalize the type of Data.List.{deleteBy,
deleteFirstsBy}
GHC
trac at galois.com
Wed Jul 29 05:23:42 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 maeder):
Another argument against this proposal is, that an "equality" function
taking different argument types is rather unintuitive. Who actually needs
this generalization and is able to understand this from the documentation?
Orthogonality would also require to check if the other "By"-functions can
be generalized to swallow an "(b -> a -> Bool)" argument. (Indeed
`intersectBy` could be generalized, too.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3399#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list