mirror of
https://github.com/i-am-tom/higgledy.git
synced 2024-08-17 03:50:23 +03:00
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:
parent
4275824514
commit
4aaa49e406
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user