def represent_option(options, default="-"):
    """
        Representation function for option dicts

        Args:
            options: the options dict
            default: the default value for unknown options

        Returns:
            function: the representation function
    """

    def represent(value, row=None):
        return options.get(value, default)
    return represent