Add Data.Semigroup.Last to README

As per Jordan's suggestion in #4, I've added a note about GHC 8.8. I'm
probably not going to change the code until then, simply because it
makes things a bit uglier.
This commit is contained in:
Tom Harding 2019-08-05 09:17:27 +01:00
parent 4275824514
commit 4aaa49e406

View File

@ -95,6 +95,10 @@ type Bare a = HKD a Identity -- All must be present.
type Labels a = HKD a (Const String) -- Every field holds a string.
```
_NB: as of GHC 8.8, the `Last` monoid will be removed in favour of `Compose
Maybe Last` (using the `Last` in `Data.Semigroup`). Until then, I'll use `Last`
for brevity, but you may wish to use this suggestion for future-proofing._
### Fresh objects
When we want to start working with the `HKD` interface, we have a couple of