NorfairKing / validity

Validity and validity-based testing
https://www.youtube.com/watch?v=eIs9qNh17SM
MIT License
156 stars 31 forks source link

genvalidity-time-1.0.0.0: No instance for (Validity CalendarDiffDays) #96

Closed juhp closed 2 years ago

juhp commented 2 years ago

In the Stackage Nightly build:

/var/stackage/work/unpack-dir/unpacked/genvalidity-time-1.0.0.0-52c81aff7fd255e6be2a0ebeaa728a8629f4a6f90c25e97b66cf0fb23c693bf5/sr
c/Data/GenValidity/Time/Calendar.hs:38:10: error:                
    • No instance for (Validity CalendarDiffDays)                                                                                  
        arising from the superclasses of an instance declaration                                                                   
    • In the instance declaration for ‘GenValid CalendarDiffDays’                                                                  
   |                                                                                                                               
38 | instance GenValid CalendarDiffDays where                                                                                      
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                            

/var/stackage/work/unpack-dir/unpacked/genvalidity-time-1.0.0.0-52c81aff7fd255e6be2a0ebeaa728a8629f4a6f90c25e97b66cf0fb23c693bf5/sr
c/Data/GenValidity/Time/Calendar.hs:42:10: error:                
    • No instance for (Validity DayOfWeek)                                                                                         
        arising from the superclasses of an instance declaration                                                                   
    • In the instance declaration for ‘GenValid DayOfWeek’                                                                         
   |                                                             
42 | instance GenValid DayOfWeek where                                                                                             
   |          ^^^^^^^^^^^^^^^^^^                                                                                                   
NorfairKing commented 2 years ago

Should also be fixed with the validity-time release.