Skip to content

Commit

Permalink
Fix mtl-2.3 compat
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Beták <matobet@gmail.com>
  • Loading branch information
2 people authored and maksbotan committed Oct 26, 2022
1 parent 1c9c891 commit 764eb6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openapi3.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ library
, containers >=0.5.11.0 && <0.7
, template-haskell >=2.13.0.0 && <2.20
, time >=1.8.0.2 && <1.14
, transformers >=0.5.5.0 && <0.6
, transformers >=0.5.5.0 && <0.7

build-depends:
mtl >=2.2.2 && <2.3
mtl >=2.2.2 && <2.4
, text >=1.2.3.1 && <2.1

-- other dependencies
Expand Down
1 change: 0 additions & 1 deletion src/Data/OpenApi/Declare.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import Prelude.Compat

import Control.Monad
import Control.Monad.Cont (ContT)
import Control.Monad.List (ListT)
import Control.Monad.Reader (ReaderT)
import Control.Monad.Trans
import Control.Monad.Trans.Except (ExceptT)
Expand Down
3 changes: 2 additions & 1 deletion src/Data/OpenApi/Internal/Schema.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import Control.Lens hiding (allOf)
import Data.Data.Lens (template)

import Control.Monad
import Control.Monad.Writer
import Control.Monad.Writer hiding (First, Last)
import Data.Aeson (Object (..), SumEncoding (..), ToJSON (..), ToJSONKey (..),
ToJSONKeyFunction (..), Value (..))
import Data.Char
Expand All @@ -50,6 +50,7 @@ import Data.Proxy
import Data.Scientific (Scientific)
import Data.Fixed (Fixed, HasResolution, Pico)
import Data.Set (Set)
import Data.Semigroup
import qualified Data.Text as T
import qualified Data.Text.Lazy as TL
import Data.Time
Expand Down

0 comments on commit 764eb6d

Please sign in to comment.