[Haskell-cafe] RFC: A standardized interface between web servers
and applications or frameworks (ala WSGI)
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Sun Apr 13 10:33:05 EDT 2008
On Apr 13, 2008, at 10:21 , Manlio Perillo wrote:
> I'm not yet an Haskell expert, however one of the great feature of
> WSGI is that the environ is a Python dictionary.
> This means that the user can add new keys/values in it.
> I'm using this feature, in my WSGI implementation for Nginx (and in
> a mini framework I'm writing) to store user configuration in the
> environment, and to cache the result of the parsing of request
> I'm not sure if this make sense in Haskell.
Er, that's just a StateT and possibly a ReaderT. I suspect a
specific monad stack wrapping IO will end up being part of the
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe