Proposal #1464: add dropPrefix to Data.List

Chris Smith cdsmith at twu.net
Wed Jun 27 10:27:01 EDT 2007


Iavor Diatchki wrote:
> I can see how this function can be useful.  However, I am strongly
> opposed to adding the general monadic version---not all monads support
> graceful failure [...]

Absolutely.  Consider me in favor of the MonadPlus version, then.  I had 
just copied style from Data.Map before.  Monad would be more convenient than 
Maybe, but MonadPlus is better yet.

-- 
Chris Smith



More information about the Libraries mailing list