Slight change of plan. Seeing as the Semigroup instance of Last a is only made use of in defining Semigroup DrawAttributes (which is necessarily explicit, not derived), it's simpler to just define a simpler local helper function there (chooseLast), rather than even involving typeclasses.
PS. turns out Data.Monoid.Last is informally marked as deprecated anyway
Closes #26.
Slight change of plan. Seeing as the
Semigroup
instance ofLast a
is only made use of in definingSemigroup DrawAttributes
(which is necessarily explicit, not derived), it's simpler to just define a simpler local helper function there (chooseLast
), rather than even involving typeclasses.PS. turns out
Data.Monoid.Last
is informally marked as deprecated anyway