» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with monads + continuations

Continuation Passing Style for Monads

Recently some discussion on the Haskell IRC channel suggested that using continuation passing style can increase the performance of monadic code.

Haskell: del.icio.us tag/haskell

Continuation Passing Style for Monads

Recently some discussion on the Haskell IRC channel suggested that using continuation passing style can increase the performance of monadic<sep/>

Haskell: del.icio.us tag/haskell

therning.org/ magnus " Blog Archive " Continuing with continuations

Comments have some nice examples on using ContT with ReaderT

Haskell: del.icio.us tag/haskell

My Haskell experiences - Monads can encapsulate state into some kind of data. In fact all monads are simply data constructors with a few required functions. So most monads work by returning itself from functions. It requires a bit backward thinking,

because the state-monad for example creates a chain of closures which are executed later by evaluating the value of the monad. So to use state you don't have to give this state to a function, the monad shows up only in the result type. While this is quite

Haskell: del.icio.us tag/haskell