plow-technologies / servant-streaming

Support for servant requests and responses via the 'streaming' library
13 stars 3 forks source link

Custom server monad for StreamBody #7

Closed domenkozar closed 6 years ago

domenkozar commented 6 years ago

Fixes #6 for my use case, although I don't like the naming StreamBodyMonad.

Based on #5

Better solution would be polymorphic m with constraint MonadIO m, but I couldn't figure out how to implement that.

domenkozar commented 6 years ago

@jkarni any comments? :)

jkarni commented 6 years ago

LGTM. But can you not gitignore the cabal file? I know sometimes hpack complains about version, but without the cabal file we force people to download hpack in order to run this.

domenkozar commented 6 years ago

@jkarni done :)