From 63c79dceeff274f193864dab1c79b3b861eb597f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Nov 2023 21:29:19 -0400 Subject: [PATCH] avoid displicate of year range --- Author.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Author.hs b/Author.hs index 8582f466e3..fd112da74a 100644 --- a/Author.hs +++ b/Author.hs @@ -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 #-}