[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set->bag! ambiguity

This page is part of the web mail archives of SRFI 113 from before July 7th, 2015. The new archives for SRFI 113 contain all messages, not just those from before July 7th, 2015.



I believe there is an ambiguity regarding the comparator in the value
returned by SET->BAG!:

  The set->bag! procedure returns a bag containing the elements of both
  bag and set.  In all cases, the comparator of the result is the same
  as the comparator of the argument.

But SET->BAG! has two arguments; which comparator is used?