#1464: Proposal: add dropPrefix to Data.List
-------------------------------+--------------------------------------------
Reporter: igloo | Owner:
Type: proposal | Status: closed
Priority: normal | Milestone: Not GHC
Component: libraries/base | Version: 6.6.1
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-------------------------------+--------------------------------------------
Changes (by igloo):
* resolution: => fixed
* status: new => closed
Comment:
Fixed by:
{{{
Sun Jul 15 00:52:04 BST 2007 Ian Lynagh <[EMAIL PROTECTED]>
* Define stripPrefix; fixes trac #1464
}}}
For the gory details the thread starts at
http://www.haskell.org/pipermail/libraries/2007-June/007657.html
There was general agreement that this should go in. A couple of more
general variants were discussed, but concensus was that the simple,
specific function should go in regardless.
There was no real concensus on what the name should be, but stripPrefix
seems to have at least as much support as anything else. dropPrefix was
disliked as it returned a Maybe type, unlike all other drop* functions.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1464>
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