what is a bag?



Maxima sets aren't bags:

  (%i2) :lisp(mbagp `(($set) 1 2))
  NIL

I've forgotten the reason we didn't declare sets to be bags, but I do 
remember 
experimenting with making sets bags.


--Barton

maxima-bounces at math.utexas.edu wrote on 11/09/2010 01:47:14 PM:


> Bags are container types, including lists, matrices, and sets (and 
> presumably multisets if we ever implement them).