From 6e3606c8fd29aa4bd62f8ba834ca4285ff5c81b7 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Wed, 19 Apr 2023 07:16:55 -0400 Subject: [PATCH] Support building with mtl-2.3.* (GHC 9.6) `mtl-2.3.*` no longer re-exports `Control.Monad` from `Control.Monad.State`, which breaks some code in `hobbits`. This is easily fixed by tightening up the imports a bit. --- src/Data/Binding/Hobbits/NuMatching.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Binding/Hobbits/NuMatching.hs b/src/Data/Binding/Hobbits/NuMatching.hs index 3cfb7db..8b94324 100644 --- a/src/Data/Binding/Hobbits/NuMatching.hs +++ b/src/Data/Binding/Hobbits/NuMatching.hs @@ -45,7 +45,7 @@ import qualified Data.Vector as Vector import Language.Haskell.TH hiding (Name, Type(..), cxt, clause) import qualified Language.Haskell.TH as TH import Language.Haskell.TH.Datatype.TyVarBndr -import Control.Monad.State +import Control.Monad (forM) import Numeric.Natural import Data.Functor.Constant import Data.Kind as DK