Skip to content

Commit 3fa7162

Browse files
committed
Cabal file fixes
1 parent 8100c82 commit 3fa7162

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

servant-matrix-param.cabal

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ library
5858
Servant.MatrixParam.Server.Internal
5959
Servant.MatrixParam.Server.Internal.ArgList
6060

61-
if flag(with-servant-server)
61+
if flag(with-servant-client)
6262
build-depends:
63-
servant-client
63+
servant-client,
64+
text
6465
exposed-modules:
6566
Servant.MatrixParam.Client
6667
Servant.MatrixParam.Client.Internal

src/Servant/MatrixParam/Client/Internal.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ instance
3131
path = symbolVal (Proxy :: Proxy path)
3232

3333
-- This is just a dummy used to keep track of whether we have already processed
34-
-- the leading path. If we are in a WMP instance, we have already delt with the
35-
-- leading path, and can just proceed recursive over the matrix params. If not,
36-
-- we deal with the leading path, and call the WMP instance. WMP itself should
37-
-- not be exported.
34+
-- the leading path. If we are in a WMP instance, we have already dealt with
35+
-- the leading path, and can just proceed recursively over the matrix params.
36+
-- If not, we deal with the leading path, and call the WMP instance. WMP itself
37+
-- should not be exported.
3838
data WMP (p :: Symbol) (x :: [*])
3939

4040
instance

stack-servant-0.7.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ flags:
99
servant-matrix-param:
1010
with-servant-aeson-specs: true
1111
with-servant-server: true
12-
with-servant-client: false
12+
with-servant-client: true

stack.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ flags:
1010
servant-matrix-param:
1111
with-servant-aeson-specs: true
1212
with-servant-server: true
13+
with-servant-client: true

0 commit comments

Comments
 (0)