Problem: Currently, o-clock does not provide a Data instance for its Time type, which can be useful for using it together with some generics library such as uniplate.
Solution: Derive Data for Time with DeriveDataTypeable.
Related issue(s)
Fixes #132
Related changes (conditional)
Tests
[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[x] I checked whether I should update the docs and did so if necessary:
Description
Problem: Currently,
o-clock
does not provide aData
instance for itsTime
type, which can be useful for using it together with some generics library such asuniplate
.Solution: Derive
Data
forTime
withDeriveDataTypeable
.Related issue(s)
Fixes #132
Related changes (conditional)
Tests
Documentation
Public contracts
Stylistic guide (mandatory)