Comments (3)
Because we need to perform IO
in all non-trivial applications.
from wai.
I obviously meant why IO and not something more general such as MonadIO and friends.
from wai.
Because there's no way for a server to run an arbitrary MonadIO
. Imagine the application decides to use ReaderT FooBar
; how is Warp supposed to provide a FooBar
value?
from wai.
Related Issues (20)
- Warp busy-loops on EMFILE HOT 5
- [warp] Get peer credentials from unix sockets HOT 1
- warp-tls 3.3.7 is not compatible with warp-tls 3.3.6, contradicting the intended use of PVP HOT 4
- disabling Cabal flag x509 let compilation fail HOT 1
- can't install warp-tls.3.3.6 in macOS HOT 6
- `wai-app-static` assumes `If-None-Match` headers only have one ETag
- warp needs upper bound http2 < 4.2 HOT 6
- Detecting whether a client vanished HOT 3
- warp: Connections with HEAD requests are not kept alive if they don't have Content-Length HOT 4
- wai-extra: Safe handling of temp files that exceed configured limits HOT 7
- No WAI Response composers work to send HTTP 103 Early Hints HOT 3
- HTTP/2 or /3 might not have minor version HOT 2
- master -> main
- Warp host preference not binding correctly for `!6` and `*` special values HOT 4
- Last-Modifed and If-Modified-Since handling with `responseFile` HOT 2
- Improve Documentation of Graceful Shutdown HOT 1
- auto-update: mkDebounce leaking the thread HOT 2
- Exception response handler doesn't catch exceptions HOT 5
- warp-3.4.0 failed to build with Cabal on macOS HOT 8
- WarpTLS cannot teminate TCP connections if TLS handshake is not done HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wai.