Logo

Programming-Idioms

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

Idiom #276 Insert an element in a set

Insert an element e into the set x.

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

New implementation...