45c1cbdfd5
- 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'
28 lines
1 KiB
Text
28 lines
1 KiB
Text
name: cookbook-basic-streaming
|
|
version: 2.1
|
|
synopsis: Streaming in servant without streaming libs
|
|
homepage: http://haskell-servant.readthedocs.org/
|
|
license: BSD3
|
|
license-file: ../../../servant/LICENSE
|
|
author: Servant Contributors
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
build-type: Simple
|
|
cabal-version: >=1.10
|
|
tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.1
|
|
|
|
executable cookbook-basic-streaming
|
|
main-is: Streaming.lhs
|
|
build-tool-depends: markdown-unlit:markdown-unlit
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -pgmL markdown-unlit -threaded -rtsopts
|
|
|
|
hs-source-dirs: .
|
|
build-depends: base >= 4.8 && <4.13
|
|
, aeson
|
|
, bytestring
|
|
, servant
|
|
, servant-server
|
|
, servant-client
|
|
, http-client
|
|
, wai
|
|
, warp
|