import random


def get_uniform_mutation_function(minimum, maximum):
    """
    Returns a function that returns a value drawn from a uniform distribution over the closed interval [minimum, maximum]; see :ref:`mutation-functions`

    :Valid For:
        any gene type

    :param minimum: the minimum allowed value
    :type minimum: int/float

    :param maximum: the maximum allowed value
    :type maximum: int/float


    :returns: a sample from a uniform distribution
    """
    return lambda value: random.uniform(minimum, maximum)