Compatibility with mtl 2.3
This commit is contained in:
parent
28f0e110c5
commit
0e9c33b31c
|
@ -1,5 +1,4 @@
|
|||
{-# LANGUAGE UndecidableInstances #-}
|
||||
{-# OPTIONS_GHC -Wno-orphans #-}
|
||||
|
||||
module NOM.Update.Monad (
|
||||
UpdateMonad,
|
||||
|
@ -72,8 +71,3 @@ instance (MonadCheckStorePath m) => MonadCheckStorePath (StateT a m) where
|
|||
|
||||
instance (MonadCheckStorePath m) => MonadCheckStorePath (WriterT a m) where
|
||||
storePathExists = lift . storePathExists
|
||||
|
||||
instance (MonadState s m) => MonadState s (WriterT w m) where
|
||||
get = lift get
|
||||
put = lift . put
|
||||
state = lift . state
|
||||
|
|
Loading…
Reference in a new issue