#1189: Add First and Last wrappers around Maybe to Data.Monoid
-------------------------------+--------------------------------------------
    Reporter:  jyasskin        |       Owner:         
        Type:  proposal        |      Status:  new    
    Priority:  normal          |   Milestone:  Not GHC
   Component:  libraries/base  |     Version:  6.6    
    Severity:  normal          |    Keywords:         
  Difficulty:  Unknown         |    Testcase:         
Architecture:  Unknown         |          Os:  Unknown
-------------------------------+--------------------------------------------
First and Last `mappend` to the first and last non-Nothing elements of the
 input. These instances seem to fit with the other simple instances in this
 file and are useful, for example, to turn foldMap into findFirst or
 findLast, or to get a really trivial Writer monad.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1189>
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