Bump 8.6.5 plans to lts-14 (#41)

This commit is contained in:
Avi Dessauer 2019-08-21 05:59:18 -04:00 committed by Alexey Kiryushin
parent 611368eb78
commit 5295ac7f7f
3 changed files with 10 additions and 2 deletions

View File

@ -125,7 +125,11 @@ import Servant
, Header
, Headers
, QueryParam
#if MIN_VERSION_GLASGOW_HASKELL(8,6,5,0)
, ServerError
#else
, ServantErr
#endif
, ServerT
, ToHttpApiData(..)
, addHeader
@ -1835,7 +1839,11 @@ fileNotFound :: Response
fileNotFound =
responseLBS status404 [("Content-Type", "text/plain")] "Not found"
#if MIN_VERSION_GLASGOW_HASKELL(8,6,5,0)
throwServantError :: (MonadIO m) => ServerError -> m a
#else
throwServantError :: (MonadIO m) => ServantErr -> m a
#endif
throwServantError = liftIO . throwIO
server :: Environment -> ServerT API Handler

View File

@ -1,4 +1,4 @@
resolver: lts-13.20
resolver: lts-14.1
packages:
- '.'
- 'vendor/cabal-helper-0.8.1.2'

View File

@ -1,4 +1,4 @@
resolver: lts-13.20
resolver: lts-14.1
packages:
- '.'
- 'vendor/cabal-helper-0.8.1.2'