a parallel-friendly wrapper for the funprog family of functions