Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One of the cool things about using a functional language for web development is the potential to use continuation-passing style (CPS) to make http look like a stateful protocol, which makes implementing chains of user interactions a lot simpler.

I know Clojure doesn't support first-class continuations, but does anyone know whether is it possible to use Clojure Noir to program in this style?



Can you give me an example of what that would look like? Or a description of the flow you'd want to achieve?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: