Utility to write lazy exporters of constant subroutines