On uniform spaces and topological algebra