Pass function as variable in pipe

The snippet you have shown does not reference that name, perhaps its a problem on the callsite?