News for hackers. Stuff that matters.
Re:Zedshaw/Tir by gcr on Monday May 21, 2012 @02:57PM (#4004295)
(Edit: Sorry, you seem to know all this. Keeping my post here for posterity)

The logical end to this road is continuation-based web servers. See http://docs.racket-lang.org/continue/index.html and my approach to the Arc challenge, https://gist.github.com/1304257

The interesting function which does all the work is:

  (define (start req)
    ;; First, we get input from the user
    ;; Then, we pause for the link
    ;; Finally, we show what the user typed.
    (let ([input (get-input-from-user)])
      (pause-for-link)
      (show-input input)))
Each of these calls - get-input-from-user, pause-for-link, and show-input sends a complete page back to the user and waits for them to click a link or submit a form request. It's a really smooth way of solving some problems.
Re:Zedshaw/Tir by sigil on Monday May 21, 2012 @03:44PM (#4004552)
Sorry, you seem to know all this.

Not at all, this is interesting. Thanks for the info.