It seems like the issue is that HaXR uses CGI, whereas you want to tie it in with a web server, correct? There's a deprecated package[1] to allow CGI apps to be run on any WAI handler (such as Warp). If you'd be interested in using the code, I could help bring it up to snuff with the most recent WAI, especially if you'd be interested in taking over maintenance of it.
[1] http://hackage.haskell.org/package/wai-frontend-monadcgi On Thu, Jan 5, 2012 at 5:40 PM, Johannes Waldmann <[email protected]> wrote: > How could I use haxr (http://www.haskell.org/haskellwiki/HaXR) > to build a stateful server? > > It should listen on some port, > and fork threads (inside Haskell land) to handle incoming calls. > Any of the Haskell web frameworks can do this? > > I guess this is the same question as: > http://www.haskell.org/pipermail/haskell-cafe/2009-December/071185.html > > Thanks - J.W. > > > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
