[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.
- To: srfi-113@xxxxxxxxxxxxxxxxx
- Subject: set->bag! ambiguity
- From: Aubrey Jaffer <agj@xxxxxxxxxxxx>
- Date: Fri, 15 Aug 2014 20:57:23 -0400
- Delivered-to: srfi-113@xxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=v2Ho4C8ZGjDM6MBVsV4gZm2jvxE81bifXp1VLViCxw8=; b=ETqyY1/IuBm+I1ClTxZZcMvDlXN+uUzpkqQDTWvfZQP1aTtqpB5Mk23e0j6Pc03wzp sQW144YVhBUMFJVdIbVgoPS74YWbYH9xVRDxQ3i2Q4WuQM5FlFHM3b8snGLhAprwA5LA 7Gh7vZjuEd+i/ooUYB4FGA8MK7ylitND3uWnLaew0bX9DItqr+FvnsQhgg8ivZ95EXn2 H1MrkdiZtDKEhQkinzKXnvXb/mymGOD/1HULfrpLbyLdxLmstOmwGEo5UTNGcTr1xGuM XyXqEde8/TmlYWACa0uYfwpZcCLlmaoHYrZLrMZdzQTeDT2EN/Kxu7xtgkwchjxdPSvJ +LOg==
- Sender: Aubrey Jaffer <aubrey.jaffer@xxxxxxxxx>
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?