You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
80
+
- cat cabal.project || true
81
+
- cat cabal.project.local || true
78
82
- if [ -f "servant/configure.ac" ]; then
79
83
(cd "servant" && autoreconf -i);
80
84
fi
@@ -105,9 +109,15 @@ install:
105
109
- if [ -f "doc/cookbook/db-sqlite-simple/configure.ac" ]; then
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
165
+
- cat cabal.project || true
166
+
- cat cabal.project.local || true
152
167
- echo -en 'travis_fold:end:unpack\\r'
153
168
154
-
155
169
- echo Building with tests and benchmarks... && echo -en 'travis_fold:start:build-everything\\r'
156
170
# build & run tests, build benchmarks
157
171
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
@@ -164,5 +178,10 @@ script:
164
178
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
165
179
166
180
- echo -en 'travis_fold:end:haddock\\r'
181
+
- echo Building without installed constraints for packages in global-db... && echo -en 'travis_fold:start:build-installed\\r'
182
+
# Build without installed constraints for packages in global-db
183
+
- if $UNCONSTRAINED; then rm -f cabal.project.local; echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi
-*servant-client-core* Add `hoistClient` to `HasClient`.
37
+
Just like `hoistServer` allows us to change the monad in which request handlers
38
+
of a web application live in, we also have `hoistClient` for changing the monad
39
+
in which *client functions* live.
40
+
Read [tutorial section for more information](https://haskell-servant.readthedocs.io/en/release-0.14/tutorial/Client.html#changing-the-monad-the-client-functions-live-in).
-*servant-client-core* Add `hoistClient` to `HasClient`.
33
+
Just like `hoistServer` allows us to change the monad in which request handlers
34
+
of a web application live in, we also have `hoistClient` for changing the monad
35
+
in which *client functions* live.
36
+
Read [tutorial section for more information](https://haskell-servant.readthedocs.io/en/release-0.14/tutorial/Client.html#changing-the-monad-the-client-functions-live-in).
0 commit comments