Inline foldr and (.) when applied to two arguments not three