summaryrefslogtreecommitdiff
path: root/src/Index.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-07-26 20:25:32 +0200
committerTom Smeding <tom@tomsmeding.com>2026-07-26 20:25:32 +0200
commitcdafbaa3c4a429140a24368ad0edb7b9e8de8e6e (patch)
tree56556998604a11b07fa97d2788e2b1b29d0588cc /src/Index.hs
parentee6c27c59d075f3b7668dc87ae5f45214a91a3d5 (diff)
Move to Prelude.foldl' now that we require GHC 9.10
Diffstat (limited to 'src/Index.hs')
-rw-r--r--src/Index.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Index.hs b/src/Index.hs
index eedd1cd..221be78 100644
--- a/src/Index.hs
+++ b/src/Index.hs
@@ -20,8 +20,6 @@ module Index (
indexCalendar,
) where
-import Prelude hiding (foldl') -- exported since GHC 9.10 (base 4.20)
-
import Control.Applicative (empty)
import Control.Concurrent
import Control.Monad (forM, forM_, when, guard)
@@ -32,7 +30,7 @@ import Data.ByteString (ByteString)
import Data.Char (isDigit, chr, ord)
import Data.Functor ((<&>))
import Data.IORef
-import Data.List (sort, scanl', foldl', minimumBy, intercalate)
+import Data.List (sort, scanl', minimumBy, intercalate)
import Data.Map.Strict (Map)
import Data.Map.Strict qualified as Map
import Data.Maybe (catMaybes)