In analogy with something like

type(<1,2>,'Vector'(2,posint));

it would have been nice if something like

type({1,2},'set'(2,posint));
type([1,2],'list'(2,posint));

was possible. How can one, using type, check for a certain number of elements in sets and lists?


Please Wait...