Can you stick this on Hackage? I'd love to play with it...
Simplest app should look like this
module Main where
import Hack
import Hack.Handler.Kibro
hello :: Application
hello = \env -> return $ Response
{ status = 200
, headers = [ ("Content-Type", "text/plain") ]
, body = "Hello World"
}
main = run hello
Hack is a brainless port of the brilliant Ruby Rack framework. Rack is
very modular and that's
very important.
Rack utilities and middlewares should be able to be ported with
minimal effort, I hope.
link / source: http://github.com/nfjinjing/hack/tree/master
--
jinjing
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe