F# Expert · Lesson 7

Continuation-passing style

Make non-tail recursion stack-safe by passing the rest of the work as a function.

Lessons · F# Expert · Lesson 7 of 10

Continuation-passing style

Make non-tail recursion stack-safe by passing the rest of the work as a function.

Illustration for F#
Make non-tail recursion stack-safe by passing the rest of the work as a function.