Transforming funs to match specifications

There is this old post…

Maybe this package can help?