unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Alternatives to intersection
@ 2009-12-11 14:24 Nordlöw
  2009-12-12  1:01 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 3+ messages in thread
From: Nordlöw @ 2009-12-11 14:24 UTC (permalink / raw)
  To: help-gnu-emacs

Are there any alternatives to the function intersection especially for
eq-comparisons?

/Nordlöw


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alternatives to intersection
  2009-12-11 14:24 Alternatives to intersection Nordlöw
@ 2009-12-12  1:01 ` Pascal J. Bourguignon
  2009-12-12  9:27   ` Nordlöw
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal J. Bourguignon @ 2009-12-12  1:01 UTC (permalink / raw)
  To: help-gnu-emacs

Nordlöw <per.nordlow@gmail.com> writes:

> Are there any alternatives to the function intersection especially for
> eq-comparisons?

(require 'cl)
(intersection a b :test (function eq))

-- 
__Pascal Bourguignon__


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alternatives to intersection
  2009-12-12  1:01 ` Pascal J. Bourguignon
@ 2009-12-12  9:27   ` Nordlöw
  0 siblings, 0 replies; 3+ messages in thread
From: Nordlöw @ 2009-12-12  9:27 UTC (permalink / raw)
  To: help-gnu-emacs

On Dec 12, 2:01 am, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> Nordlöw <per.nord...@gmail.com> writes:
> > Are there any alternatives to the function intersection especially for
> > eq-comparisons?
>
> (require 'cl)
> (intersection a b :test (function eq))
>
> --
> __Pascal Bourguignon__

Thanks,
/Per


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-12  9:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 14:24 Alternatives to intersection Nordlöw
2009-12-12  1:01 ` Pascal J. Bourguignon
2009-12-12  9:27   ` Nordlöw

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).