Monday, 13 August 2007

Exploiting Tail Recursion

The OCaml Journal just published an article describing one of the core features of functional programming in detail:

"Recursion is essential to functional programming and practical use of functional programming languages and a functional style requires the ability to write recursive functions that do not consume stack space. Function calls that require no stack space are called tail calls. This article describes the use of tail calls to write robust and efficient tail recursive functions in OCaml..."

To read this article and more, subscribe to The OCaml Journal today!

No comments: