File tree Expand file tree Collapse file tree 6 files changed +7
-5
lines changed
servant-client/src/Servant Expand file tree Collapse file tree 6 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ import Servant.Client.Experimental.Auth
43
43
import Servant.Common.BaseUrl
44
44
import Servant.Common.BasicAuth
45
45
import Servant.Common.Req
46
+ import Servant.Utils.Enter
46
47
47
48
-- * Accessing APIs as a Client
48
49
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ library
40
40
Servant.Server.Internal
41
41
Servant.Server.Internal.BasicAuth
42
42
Servant.Server.Internal.Context
43
- Servant.Server.Internal.Enter
44
43
Servant.Server.Internal.Router
45
44
Servant.Server.Internal.RoutingApplication
46
45
Servant.Server.Internal.ServantErr
@@ -101,7 +100,6 @@ test-suite spec
101
100
other-modules :
102
101
Servant.Server.ErrorSpec
103
102
Servant.Server.Internal.ContextSpec
104
- Servant.Server.Internal.EnterSpec
105
103
Servant.ServerSpec
106
104
Servant.Server.UsingContextSpec
107
105
Servant.Server.UsingContextSpec.TestCombinators
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ import Data.Proxy (Proxy)
101
101
import Data.Text (Text )
102
102
import Network.Wai (Application )
103
103
import Servant.Server.Internal
104
- import Servant.Server.Internal .Enter
104
+ import Servant.Utils .Enter
105
105
106
106
107
107
-- * Implementing Servers
Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE DataKinds #-}
2
2
{-# LANGUAGE OverloadedStrings #-}
3
3
{-# LANGUAGE TypeOperators #-}
4
- module Servant.Server.Internal.EnterSpec where
4
+ module Servant.ArbitraryMonadServerSpec where
5
5
6
6
import qualified Control.Category as C
7
7
import Control.Monad.Reader
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ library
47
47
Servant.API.Verbs
48
48
Servant.API.WithNamedContext
49
49
Servant.Utils.Links
50
+ Servant.Utils.Enter
50
51
build-depends :
51
52
base >= 4.7 && < 4.9
52
53
, base-compat >= 0.9
@@ -58,6 +59,8 @@ library
58
59
, http-api-data >= 0.1 && < 0.3
59
60
, http-media >= 0.4 && < 0.7
60
61
, http-types >= 0.8 && < 0.10
62
+ , mtl >= 2 && < 3
63
+ , mmorph >= 1
61
64
, text >= 1 && < 2
62
65
, string-conversions >= 0.3 && < 0.5
63
66
, network-uri >= 2.6
Original file line number Diff line number Diff line change 8
8
{-# LANGUAGE TypeFamilies #-}
9
9
{-# LANGUAGE TypeOperators #-}
10
10
{-# LANGUAGE UndecidableInstances #-}
11
- module Servant.Server.Internal .Enter where
11
+ module Servant.Utils .Enter where
12
12
13
13
import qualified Control.Category as C
14
14
#if MIN_VERSION_mtl(2,2,1)
You can’t perform that action at this time.
0 commit comments