import { concreteTSet } from "@effect/core/stm/TSet/operations/_internal/InternalTSet"
/**
* Stores new element in the set.
*
* @tsplus static effect/core/stm/TSet.Aspects put
* @tsplus pipeable effect/core/stm/TSet put
*/
export function put(value: A) {
return (self: TSet): STM => {
concreteTSet(self)
return self.tmap.put(value, undefined as void)
}
}