A solution to the accumulator generator problem. (This illustrates how to implement a closure using a co-expression.)
This file is part of the (main) package.
genAcc(n)
main(args)