Style guide for functions with closure parameters