Question. Assume there is a insert lfun. But the map insert need two arguments, key and value, but the set only need one argument, value, will this be alot of special case handling?
/ Peta, jo det är jag
Previous text:
2002-11-10 16:08: Subject: More about ADTs
Yes. Some sort of global function corresponding to m_delete for the insert operation will also be necessary for the new multisets. To be consistent it should then be called m_insert, but I don't particularly like the "m_" prefix in this case either. (As it happens, it works for multisets too, but the operation is really more fundamental than that.)
Perhaps we can come up with a new operator syntax instead?
/ Martin Stjernholm, Roxen IS