Commit Graph

19 Commits

Author SHA1 Message Date
Théophile Choutri a975cfc361
Add details about AddHeaders instances (#1490)
* Add details about the instances of AddHeader

Also:

* Cleanup of extensions and imports
2021-11-30 23:52:06 +01:00
Dan Fithian 47bd25266f
Servant docs curl (#1401)
servant-dosc: generate sample curl request
2021-08-19 13:11:00 +02:00
David Johnson 85599b944c
Build servant repo with nix. (#1288) 2020-06-06 00:04:32 -04:00
Oleg Grenrus 420ebd0475 Refactor servant-client-core
- No more Internal modules
- Remove ClientLike-generic. Let's use Routes-generics
    - Let's see if anyone notices, otherwise we can add it back
- Add Makefile for common tasks
    - Fix servant-client-ghcjs
2019-02-18 19:08:13 +02:00
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
Alp Mestanogullari c8dbcea5a2 add shell.nix for building servant (+ tutorial + cookbook, optionally) 2017-12-08 23:44:38 +01:00
Oleg Grenrus 24af338dea Add hoistServer to HasServer 2017-09-14 12:04:34 +03:00
Oleg Grenrus d5e73bf577 Make servant buildable with cabal new-build 2017-01-16 11:03:06 +02:00
Sönke Hahn 050f071a0b tutorial: update .gitignore 2016-03-19 17:40:00 +08:00
Sönke Hahn db602e8a79 tutorial: add tutorial compiling script and conversion script 2016-03-19 17:39:59 +08:00
Sönke Hahn 1d4e3a1e5b Moved tutorial to servant-examples/tutorial and include it in doc/index.rst 2016-03-19 17:39:59 +08:00
Julian K. Arni 3b3c929b40 Move tutorial files over 2016-03-19 17:39:59 +08:00
Jonathan Lange acd9d2f644 Ignore auto-generated nix files 2015-09-08 20:37:49 +01:00
Brandon Martin b40094d01c convenience scripts and nix updates 2015-07-30 08:09:29 -06:00
Sönke Hahn e24cb9ddf6 add stack file 2015-07-26 17:25:07 +08:00
Julian K. Arni aec39b546e Upload script and some script refactoring 2015-06-05 14:40:05 +02:00
Julian K. Arni 74f4d2db14 Enter via natural transformations 2015-05-03 00:15:35 +02:00
Julian K. Arni e462b957f2 Update gitignore 2015-04-20 13:31:30 +02:00
Daniel Larsson 0b29d1d690 Bumped version number, and added a .gitignore file. 2015-01-15 10:38:59 +01:00