all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.