Roc: use Fn.flip to make code cleaner