def getNorm(name, p=None):
    """Get an instance of a fuzzy norm with given name.
    Normally looks into the fuzzy.norm package for a suitable class.
    """
    m = __import__("fuzzy.norm."+name, fromlist=[name])
    c = m.__dict__[name]
    if p is None:
        return c()
    else:
        return c(p)