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

Re: Finalizing SRFI 113

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.



Hi,

On Thu, 27 Nov 2014 17:56:45 -0500, John Cowan <cowan@xxxxxxxxxxxxxxxx> wrote:
> There is a new version of SRFI 113, Sets and Bags, at my staging site:
> <http://www.ccil.org/~cowan/temp/srfi-113.html>.  This implements some
> of the corrections from the Last^3 call that for whatever reason didn't
> make it in to the last published version, notably the exclusion of
> Cartesian product and powerset.
Seems a missing "set1" in the first example, i.e.,
(let* ((set1 (set 'a 'b 'c))      ; set1 = {a,b,c}.
       (set2 (set-adjoin! 'd)))   ; Add d to {a,b,c}.
  set1) ; Could be either {a,b,c} or {a,b,c,d}.
should be:
(let* ((set1 (set 'a 'b 'c))      ; set1 = {a,b,c}.
       (set2 (set-adjoin! set1 'd)))   ; Add d to {a,b,c}.
  set1) ; Could be either {a,b,c} or {a,b,c,d}.

Cheers,
-- Takeshi Abe