[email protected] writes:
> The documentation and it's name don't match it's results. For example:
>
> cl-user> (duplicates-p '(1 1))
> nil
>
> <snip>
>
> Actually, as I see, the "defcpstransformer tagbody" seems to rely on
> this behavior, I guess it's just a documentation bug instead (and a
> not precise name). Sorry.
I'd call it a naming bug.
Just for fun,
(defun proper-set-p (list &key (key #'identity) (test #'eql))
(or (null sequence)
(and (not (member (car list) (cdr list) :key key :test test))
(proper-set-p (cdr list)))))
Not that the length will ever be long enough for it to matter.
--
You know...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---