Function `cps` is unnecessary because `transform` has lazy evaluated the Exprs now.