as-redactor function

Wrap a redacting expression as a proper function