Yes, the spec is almost a direct translation from Rack.
For middleware, I translated some from Rack, but it does not have to
be a port. I'm just lazy.
Rack borrowed some basic middleware from WSGI too, like Lint.
About the style, it's a bit weird, yes. But only in module scope ;)
On Sat, Apr 25
What kind of port is this? Direct translation from ruby source?
I see that you are using the (.) for OO-style reversed function
application. Which feels a bit weird at first sight.
Snippet from your Hack.Handler.Kibro:
>handle app = do
> env <- get_env
> response <- app env .liftIO
>
> --
Hia,
A few interesting progress on Hack:
* many middleware ported from Rack, including a lambda! ( just like a
pony for wsgi, and a lobster for rack )
* 2 handlers, one for Kibro on fcgi / lighttpd, one for Hyena web server
* apps are portable, Bamboo is a port of Panda that runs on Hack,
works f