Functor, Monad, Applicative instances for Data.Monoid.First, Data.Monoid.Last
First and Last are both wrappers for Maybe, so this is a very straightforward completion of missing instances.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.0.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |