![]() |
|
Navigation |
Synopsis An unordered collection of values without duplicates.
Description A set is a collection of values with the following properties:
{ and } and the elements are separated by commas.
Each set has a type of the form set[T] , where T is the smallest common type of all set elements.
See Rascal:Values/Set for a description of sets and their operators
and Rascal:Prelude/Set for functions on sets.
Examples
Sets in daily life
![]() ![]() ![]() ![]() Sets in computer science
Sets in Rascal
![]() |