From 80e6b1531eae63857c4bc56cb63f92fe977da840 Mon Sep 17 00:00:00 2001 From: Teo Camarasu Date: Thu, 12 Nov 2026 18:21:24 +0000 Subject: [PATCH] Fix build with GHC-9.8 foldl' was not exported by Prelude in GHC-9.8 and earlier so we need to explicilty import it. --- rel8/src/Rel8/TH.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rel8/src/Rel8/TH.hs b/rel8/src/Rel8/TH.hs index 0749c679..d8a73f96 100644 --- a/rel8/src/Rel8/TH.hs +++ b/rel8/src/Rel8/TH.hs @@ -20,7 +20,7 @@ module Rel8.TH import Control.Monad (zipWithM) import Data.Foldable (toList) import Data.Foldable1 (foldr1) -import Data.List (unsnoc) +import Data.List (unsnoc, foldl') import Data.List.NonEmpty (NonEmpty ((:|)), nonEmpty) import qualified Data.Map.Strict as M import Data.Proxy (Proxy (Proxy))