Closed NorfairKing closed 5 months ago
OK, this might apply to other types too.
OK, this might apply to other types too.
Yes please!
Relevant: #45, #99, #154
Candidate types: DayOfWeek
, TimeOfDay
, LocalTime
, TimeZone
, ZonedTime
, CalendarDiffDays
, CalendarDiffTime
.
Hmm, might do all types with exposed constructors. Rationale in #45 not to do instance Generic UTCTime
was that the constructor was not exposed, but it is now.
This would be a big win for my projects!
Note that this is a breaking change because many projects have orphan Generic
instances for those types.
@AshleyYakeley what are next steps?
Done.
This would let me generate instances for type classes such as
GenValid
.