Add First and Last wrappers around Maybe to Data.Monoid
|Reported by:||jyasskin||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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.