chickadee » srfi-113 » bag-adjoin

bag-adjoin bag element ...procedure

The bag-adjoin procedure returns a newly allocated bag that uses the same comparator as bag and contains all the values of bag, and in addition each element. It is an error to add an element to bag that does not return #t when passed to the type test procedure of the comparator.