`set` operation

# `set` operation

Implementation of the `set` operation.