mirror of
https://github.com/NorfairKing/autodocodec.git
synced 2024-09-11 14:36:05 +03:00
Fix compatibilities with mtl 2.3.1
No longer the version of mtl re-exports Control.Monad (and other modules), so instead we need to import this module directly to use some monad utilities.
This commit is contained in:
parent
c8c6965d97
commit
65eeace89c
@ -11,6 +11,7 @@ module Autodocodec.Schema where
|
||||
|
||||
import Autodocodec
|
||||
import qualified Autodocodec.Aeson.Compat as Compat
|
||||
import Control.Monad
|
||||
import Control.Monad.State
|
||||
import Data.Aeson (FromJSON (..), ToJSON (..))
|
||||
import qualified Data.Aeson as JSON
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
module Autodocodec.Codec where
|
||||
|
||||
import Control.Monad
|
||||
import Control.Monad.State
|
||||
import Data.Aeson (FromJSON, FromJSONKey, ToJSON, ToJSONKey)
|
||||
import qualified Data.Aeson as JSON
|
||||
|
Loading…
Reference in New Issue
Block a user