m-Semigroups, semigroups, and function representations