Hi,
How to calculate the difference and intersection of two sets,which are lists ?
thx.
how to calculate difference and intersection of two sets?
Re: how to calculate difference and intersection of two sets
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)
- C-h f set-difference
- C-h f intersection