Hi,

How to calculate the difference and intersection of two sets,which are lists ?

thx.

2 posts
• Page **1** of **1**

Hi,

How to calculate the difference and intersection of two sets,which are lists ?

thx.

How to calculate the difference and intersection of two sets,which are lists ?

thx.

- Lebesgue
**Posts:**1**Joined:**Thu Jun 07, 2012 2:10 pm

From inside Emacs, first evaluate:

You need to evaluate (require 'cl), because the Emacs "set-difference" and "intersection" functions are defined in "cl-seq.el", that is no standard part of Emacs, then try:

- Code: Select all
`(require 'cl)`

You need to evaluate (require 'cl), because the Emacs "set-difference" and "intersection" functions are defined in "cl-seq.el", that is no standard part of Emacs, then try:

- C-h f set-difference
- C-h f intersection

- edgar-rft
**Posts:**161**Joined:**Fri Aug 06, 2010 6:34 am**Location:**Germany

2 posts
• Page **1** of **1**

Users browsing this forum: Yahoo [Bot] and 2 guests