>I will use the language Haskell, but it is possible to quickly translate the programs to e.g. ML or OCaml.
The article predates C++11 by many years, and with functions-as-values and lambdas now in the language, would be interesting to see if it could also be translated to C++.