avoid displicate of year range

This commit is contained in:
Joey Hess 2023-11-20 21:29:19 -04:00
parent dab9687184
commit 63c79dceef
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -24,7 +24,7 @@ instance Author (a -> a) where
authorJoeyHess = id
{-# INLINE authorJoeyHess #-}
authorJoeyHessCopyright year f
| year >= 2010 = f
| authorJoeyHessCopyright year = f
| otherwise = authorJoeyHessCopyright (pred year) f
{-# INLINE authorJoeyHessCopyright #-}