Simple Utility to Generate thunks on the fly