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

Fix mtl-2.3 compat #60

Merged
merged 1 commit into from
Oct 26, 2022
Merged
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
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