Commit Graph

1882 Commits

Author SHA1 Message Date
Oleg Grenrus 45c1cbdfd5 Refactor Stream stuff
- Introduce SourceT, which is simple variant of "correct `ListT`".
  There are another variants possible (like in `streaming`),
  but I'm not sure there's much real difference.

- Introduce `Codensity`. There's a flag if people don't want to depend
  on `kan-extensions`.

- `StreamGenerator` and `ResultStream` are both `SourceT`.
  `Stream` combinator in `servant-client` uses `Codensity` for CPS.

- Add servant-machines, servant-conduit, servant-pipes
- Add streaming cookbook: just code, no explanations.
- Add a script to run streaming 'benchmarks'
2018-11-05 15:48:47 +02:00
Oleg Grenrus 79bbcaf819
Merge pull request #1058 from k-bx/1055-custom-monad
genericServeT and docs on using a custom monad with generics
2018-10-26 13:50:19 +03:00
Oleg Grenrus b440691d8e Add more (test) extra-deps to stack.yaml, thanks to k-bx 2018-10-26 13:48:01 +03:00
Kostiantyn Rybnikov 9d06e42525 Add ReaderT import 2018-10-26 13:05:46 +03:00
Kostiantyn Rybnikov 5620d2d781 Rename one function, run custom monad code from main 2018-10-26 13:05:46 +03:00
Kostiantyn Rybnikov c1e15ef4c3 genericServeT and docs on using a custom monad with generics 2018-10-26 13:05:46 +03:00
Oleg Grenrus 56c2f4eda3
Merge pull request #1062 from phadej/enable-testing-recipe
Enable testing recipe
2018-10-26 13:01:52 +03:00
Oleg Grenrus a4151acf9e Enable testing recipe 2018-10-25 23:16:16 +03:00
Oleg Grenrus 28f0cdb5d2 Testing recipe works only on GHC-8.4. Someone please fix it. 2018-10-23 15:52:00 +03:00
Alp Mestanogullari 98f039a126
Merge pull request #1059 from alexryndin/patch-1
Remove redundant point
2018-10-22 21:11:26 +02:00
Alex Ryndin 0675c62c38
Remove redundant point
# Remove redundant point
There are so much waste in the universe and we need to change the situation. The better usage the better habits of one leads a positive attitude of everyone.
# Improve disk space usage
You always hear guys complain about the cost of storage so it's appreciated as fuck. Decreasing line by 1 symbol leads to less disk space usage (up to 2 bytes at a time)!
2018-10-22 17:32:06 +03:00
Oleg Grenrus 7561b55e14
Merge pull request #1052 from domenkozar/export-GetHeaders-prime-master
ResponseHeaders: export GetHeaders'
2018-10-15 21:09:35 +03:00
Oleg Grenrus 2e5f8e7c5f Add cabal.ghcjs.project 2018-10-15 19:24:26 +03:00
Oleg Grenrus 788e0248f1 8.4.4 job 2018-10-15 18:15:52 +03:00
Alp Mestanogullari 9d63445fbf
Merge pull request #1050 from erewok/testing-cookbook
Add Testing cookbook
2018-10-15 07:05:30 +02:00
Erik Aker bb365159f3 Pull out instance for hopefully more clarity 2018-10-14 13:27:33 -07:00
Erik Aker 02da07f95f small typo cleanups 2018-10-14 11:04:37 -07:00
Erik Aker 64f89f600a Use a different server-running method and add bulleted list of strategies at start 2018-10-14 10:19:49 -07:00
Domen Kožar c7f616ea2d
ResponseHeaders: export GetHeaders' 2018-10-14 12:15:41 +01:00
Oleg Grenrus 26b98f0e95
Merge pull request #1046 from phadej/fosskers/ghc-86-bounds
Fosskers/ghc 86 bounds
2018-10-14 11:41:59 +03:00
Erik Aker 0d0fd0de82 Clean up the comments 2018-10-13 06:35:56 -07:00
Erik Aker 18456baac5 Clean up the language so it reads better 2018-10-12 17:32:20 -07:00
Erik Aker 89336aee96 Make tests run and include failings for illustrative purposes 2018-10-12 08:48:25 -07:00
Erik Aker 43af1d0c9e WIP Commit: must finish servant-quickcheck tests 2018-10-11 20:51:30 -07:00
Oleg Grenrus 45e7d58d77 Fix travis
Disable recipes:
- hoist-server-with-context
- jwt-and-basic-auth
- pagination

Add allow-newer:
- servant-js:base
2018-10-08 09:58:01 +03:00
Colin Woodbury 7150a5bec3
Remove Travis references to `tutorial`
- It depends on `servant-js`, which is behind on its `base` bound.
2018-10-07 13:12:18 -07:00
Colin Woodbury c1ef734fa0
Jigger some base bounds for CI 2018-10-07 13:02:37 -07:00
Colin Woodbury 7428b76dd6
Remove Travis references to `jwt-and-basic-auth` 2018-10-07 12:40:31 -07:00
Colin Woodbury 42aac2bb52
Remove Travis references to `hoist-server-with-context`
- This is in an attempt to get cookbooks building with GHC 8.6.
2018-10-07 12:30:31 -07:00
Colin Woodbury b2ed29b0b9
Update Travis config for GHC 8.6 2018-10-07 11:33:05 -07:00
Colin Woodbury ef573bab0e
Update `tested-with` fields 2018-10-07 10:44:41 -07:00
Colin Woodbury dec0636611
Update bounds for GHC 8.6 2018-10-07 10:38:36 -07:00
Oleg Grenrus 80c1ec14c8 Regenerate .travis.yml 2018-10-04 13:04:00 +03:00
Oleg Grenrus e87bf9b600
Merge pull request #1044 from erewok/hoistWithContextCookbook
Add new cookbook recipe for hoistServerWithContext
2018-10-04 12:22:53 +03:00
Erik Aker 0c4dc88592 Add new cookbook recipe for hoistServerWithContext 2018-10-03 18:00:06 -07:00
Oleg Grenrus c85f99f2b1
Merge pull request #1039 from phadej/sentry-travis
Regenerate .travis.yml
2018-09-19 14:04:51 +03:00
Oleg Grenrus e03b568b41 Regenerate .travis.yml 2018-09-19 13:27:43 +03:00
Alp Mestanogullari 79f8858dfc
Merge pull request #987 from marcosh/sentry-cookbook
cookbook sentry integration page
2018-09-19 10:15:27 +02:00
Marco Perone c5d867cfb1 remove changelog entry 2018-09-19 08:25:42 +02:00
Marco Perone 3306e6ff3c add missing show on sentry cookbook 2018-09-19 08:25:42 +02:00
Marco Perone 5a65581beb added changelog and CI steps for Sentry recipe 2018-09-19 08:25:42 +02:00
Marco Perone 7a9504e046 cookbook sentry integration page 2018-09-19 08:21:09 +02:00
Oleg Grenrus 2c70a2b3f5
Merge pull request #1037 from phadej/some-lift
Add aeson and Lift BaseUrl instances
2018-09-18 14:35:38 +03:00
Oleg Grenrus a956abddeb Add aeson and Lift BaseUrl instances 2018-09-18 13:47:23 +03:00
Oleg Grenrus 8cb3f2e402
Merge pull request #1036 from haskell-servant/alp/contributing
CONTRIBUTING.md: ask contributors to leave the changelogs and package versions untouched
2018-09-17 23:05:20 +03:00
Alp Mestanogullari d494a50e94
CONTRIBUTING.md: ask contributors to leave the changelogs and package versions untouched 2018-09-17 17:09:52 +02:00
Alp Mestanogullari af7ba3d6b8
Merge pull request #1033 from CurrySoftware/master
curl-mock cookbook example
2018-09-15 13:03:21 +02:00
Jakob Demler 8336fc96d5 fix some curl-mock typos 2018-09-15 01:36:09 +02:00
Jakob Demler 765b62b05b curl-mock cookbook example 2018-09-14 19:01:04 +02:00
Oleg Grenrus e066fbe493
Merge pull request #1032 from Taneb/master
Add bifunctors instances for Servant.API.Alt
2018-09-07 13:18:39 +03:00