Ported helpers.rkt to #lang whalesong