Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!

Idiom #276 Insert an element in a set

Insert an element e into the set x.

x := x + [e];
Include(x,e);
#include <set>
x.insert(e);

New implementation...