Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GHC 9.10 #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion freer-simple.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ library
build-depends:
, natural-transformation >= 0.2
, transformers-base
, template-haskell >= 2.11 && < 2.19
, template-haskell >= 2.11 && < 2.23

executable freer-simple-examples
import: common
Expand Down
2 changes: 1 addition & 1 deletion src/Control/Monad/Freer/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ instance Monad (Eff effs) where
E u q >>= k = E u (q |> k)
{-# INLINE (>>=) #-}

instance (MonadBase b m, LastMember m effs) => MonadBase b (Eff effs) where
instance (Monad b, MonadBase b m, LastMember m effs) => MonadBase b (Eff effs) where
liftBase = sendM . liftBase
{-# INLINE liftBase #-}

Expand Down