Snippets tagged continuation passing

  • Projecting lists

    Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.

    70 people like this

    Posted: 13 years ago by Tomas Petricek

  • Binary tree traversal

    Binary tree traversal with continuation passing style transformation and defuntionalization

    0 people like this

    Posted: 1 year ago by tathanhdinh