Can you stick this on Hackage? I'd love to play with it...<br><br>
<div class="gmail_quote">On Mon, Apr 20, 2009 at 11:46 AM, Jinjing Wang <span dir="ltr"><<a href="mailto:nfjinjing@gmail.com">nfjinjing@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Simplest app should look like this<br><br> module Main where<br><br> import Hack<br> import Hack.Handler.Kibro<br>
<br> hello :: Application<br> hello = \env -> return $ Response<br> { status = 200<br> , headers = [ ("Content-Type", "text/plain") ]<br> , body = "Hello World"<br>
}<br><br> main = run hello<br><br>Hack is a brainless port of the brilliant Ruby Rack framework. Rack is<br>very modular and that's<br>very important.<br><br>Rack utilities and middlewares should be able to be ported with<br>
minimal effort, I hope.<br><br>link / source: <a href="http://github.com/nfjinjing/hack/tree/master" target="_blank">http://github.com/nfjinjing/hack/tree/master</a><br><font color="#888888"><br>--<br>jinjing<br>_______________________________________________<br>
Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>/jve<br>