Curry-like secret sauce for option-object accepting function