News for hackers. Stuff that matters.
Re:Beating the Arc Challenge in Haskell by KirinDave on Saturday December 19, 2009 @11:58AM (#1004874)
I'm not sure haskell won here. I think maybe programming with monads won.

No, really. Web programming and continuation monads seem to have really it it off together. When you add them to another language, you get similar results (e.g., http://intensivesystems.net/tutorials/web_sessions.html).

Re:Beating the Arc Challenge in Haskell by panic on Saturday December 19, 2009 @01:01PM (#1004938)
I'd be interested to hear if anyone has solved the problem of embedding a series of pages inside of another (in the sense of Seaside) in a pure functional way. In other words, here's my challenge: write http://www.seaside.st/about/examples/multicounter using the same monadic style.
Re:Beating the Arc Challenge in Haskell by nostrademons on Saturday December 19, 2009 @02:36PM (#1005072)
For pure shortness, I think HTML + JavaScript won here:

http://arclanguage.org/item?id=979

The Haskell example is interesting, though, because it shows a working webapp in Haskell, and it's not even that scary.

Re:Beating the Arc Challenge in Haskell by KirinDave on Saturday December 19, 2009 @02:49PM (#1005088)
Except that these two code examples do two very different things. The Haskell version actually uses a continuation to run multiple requests The Javascript version modifies local mutable state. The Haskell version does it via server interaction, which makes it much more useful to modern web apps.