import typing


def define_join(sep: str):
    """Define a string joining function

    Arguments:
        sep {str} -- string to join with

    Returns:
        typing.Callable -- joining function
    """
    def join_string(vals: typing.Iterable) -> str:
        return sep.join([str(val) for val in vals])

    return join_string