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.
65 people like thisPosted: 8 years ago by Tomas Petricek
Basic implementation of the continuation monad with explanation.
3 people like thisPosted: 7 months ago by Brian Berns