'Add primitive *primitive* with arity *arity* to the set.
If a name *name* is provided, it will replace the attribute __name__
attribute to represent/identify the primitive.'

def addPrimitive(self, primitive, arity, name=None):

    assert (arity > 0), 'arity    should    be    >=    1'
    args = ([__type__] * arity)
    PrimitiveSetTyped.addPrimitive(self, primitive, args, __type__, name)
