Commit Graph

25 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
Jan van Brügge a0b6d7a2de Update documentation 2018-05-24 05:08:48 +02:00
Manu S Ajith 6a410dcd07
Fix some typos in docs
Signed-off-by: Manu S Ajith <neo@codingarena.in>
2018-03-13 03:21:56 +05:30
Alp Mestanogullari 6ed48b742c
Fix typo in tutorial 2018-02-15 09:59:21 +01:00
gbaz 7edd35c9f0 docs for streaming (#852)
* docs for new streaming related combinators
2017-12-11 21:32:17 +01:00
shak-mar 76703e5b80 Fix typo in ApiType.lhs 2017-05-19 15:02:10 +02:00
David Turner 8b993b9d11 Changes to docs as suggested 2017-05-17 08:24:04 +00:00
David Turner aa3716b6aa Tidy up tutorial 2017-05-17 05:50:38 +00:00
David Turner 8a16f47fba Add EmptyAPI example (no prose yet) 2017-05-16 10:06:23 +00:00
David Turner b81fbe445d Renumber again to make room for the EmptyAPI example 2017-05-16 10:06:16 +00:00
David Turner e8c7158600 Renumber APIs in the tutorial to be in order 2017-05-16 10:06:00 +00:00
Christian Takle cdda7bcf8d Make type consistent with whats written on line 20 (#688)
Make type consistent with whats written on line 20
2017-01-29 20:59:41 +02:00
Cornelius Diekmann 47eed38ee6 Fixed typo: s/real/realm/
Actually, I'm just trying to learn servant and I'm reading the doc for the first time. But this just looks like a typo to me.
2016-09-02 16:38:03 +02:00
Sönke Hahn ecfa78d222 doc: add a tip about how to serve on `/` 2016-07-15 19:31:16 +02:00
Christopher League 69d3e7355a Fix minor typo in tutorial 2016-05-24 23:11:54 -04:00
Alexander Kjeldaas 4f558971d1 Removed FromText references from docs. 2016-04-01 22:56:19 +02:00
Aaron Levin fbf7c02d73 Merge pull request #416 from haskell-servant/jkarni/basic-auth-tutorial
Add basic auth to tutorial
2016-03-20 22:21:25 +01:00
Julian K. Arni 4e37365534 Fix type-synonym in tutorial 2016-03-20 19:04:49 +01:00
Julian K. Arni f742a5c4c8 Simplify auth section in apitypes 2016-03-19 18:15:29 +01:00
aaron levin c22d74ca55 Add basic authentication to tutorial 2016-03-19 17:25:44 +01:00
Sönke Hahn 434c163aa1 tutorial: read through ApiType.lhs 2016-03-19 17:40:00 +08:00
Andres Loeh 52b1a233fe Add / expand the documentation of the NoContent case. 2016-03-19 17:39:59 +08:00
Andres Loeh 21426a223e Rewrite the part on verbs. 2016-03-19 17:39:59 +08:00
Julian K. Arni c6dfac5203 Remove matrix params 2016-03-19 17:39:59 +08:00
Julian K. Arni f601cbf3b1 Fix cabal file, stack.yaml, and sources.txt 2016-03-19 17:39:59 +08:00