unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnu.org>
To: guile-user <guile-user@gnu.org>
Subject: Re: Uniq list in Guile
Date: Sat, 26 Oct 2013 11:06:03 +0200	[thread overview]
Message-ID: <87mwlwcsg4.fsf@zigzag.favinet> (raw)
In-Reply-To: <CAMFYt2bA2m=yYeuhKgy6HOe_rmiJyf5=9_Ts+hzg9BHUqxBBhQ@mail.gmail.com> (Panicz Maciej Godek's message of "Sat, 26 Oct 2013 10:03:44 +0200")

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

() Panicz Maciej Godek <godek.maciek@gmail.com>
() Sat, 26 Oct 2013 10:03:44 +0200

   There's also a "delete-duplicates" function available that comes with
   SRFI-1.

See also ‘(ice-9 common-list) uniq’, which hardcodes ‘eq?’ comparison
(via ‘memq’).  I, too, think it's better to not add this as a primitive.

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2013-10-26  9:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-26  7:12 Uniq list in Guile Dmitry Bogatov
2013-10-26  8:03 ` Panicz Maciej Godek
2013-10-26  9:06   ` Thien-Thi Nguyen [this message]
2013-10-26 12:05     ` Dmitry Bogatov
2013-10-26 10:16 ` Ian Price
2013-10-26 23:14   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwlwcsg4.fsf@zigzag.favinet \
    --to=ttn@gnu.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).