Skip to content

Commit

Permalink
Support building with mtl-2.3.* (GHC 9.6)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
RyanGlScott committed Apr 19, 2023
1 parent e49911c commit 6e3606c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Binding/Hobbits/NuMatching.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e3606c

Please sign in to comment.