def join_list(delimiter):
  """Joins a list into a string using the delimiter.

  This is just a wrapper for string.join.

  Args:
    delimiter: The delimiter to use when joining the string.

  Returns:
    A function that joins the list into a string with the delimiter.
  """

  def join_string_lambda(value):
    return delimiter.join(value)

  return join_string_lambda