human
I wrote the below code

    def decorator(f):
        setattr(f, name, value)
        return f
    return decorator

What's a good function header?
assistant
#Here's a good function header.

@curry
def set_attribute(name, value):