Ideally, the toplevel interaction below should be generated through the toplevel itself.  One may behe to add "pa_foreach.ml" to the repository and compile it though...