FRP is conceptually simple, but under the hood it's still doing same CPS transformation if it has to handle asynchronous FFI. I don't mean to downplay the FRP abstraction -- which is certainly beneficial when it fits -- but the core problem of callback hell is the manual CPS, which has an elegant solution that is Cont monad.
2
u/ninegua Nov 04 '12
FRP is conceptually simple, but under the hood it's still doing same CPS transformation if it has to handle asynchronous FFI. I don't mean to downplay the FRP abstraction -- which is certainly beneficial when it fits -- but the core problem of callback hell is the manual CPS, which has an elegant solution that is Cont monad.