newLISP Fan Club

Forum => newLISP in the real world => Topic started by: jopython on December 28, 2011, 03:51:43 AM

Title: Set Operations
Post by: jopython on December 28, 2011, 03:51:43 AM
Is there a module somewhere which can perform basic Set operations (like unions, intersections, differences etc)

Basic Set theory is something I know since Middle school and easy to associate with :)
Title: Re: Set Operations
Post by: Lutz on December 28, 2011, 07:30:31 AM
http://www.newlisp.org/downloads/newlisp_manual.html#intersect

http://www.newlisp.org/downloads/newlisp_manual.html#difference

http://www.newlisp.org/downloads/newlisp_manual.html#unique

http://www.newlisp.org/downloads/newlisp_manual.html#exists

http://www.newlisp.org/downloads/newlisp_manual.html#for-all
Title: Re: Set Operations
Post by: William James on March 05, 2012, 09:40:03 PM
I wish that union could be added, although I realize that it is easy to define.
Title: Re: Set Operations
Post by: Kazimir Majorinc on March 07, 2012, 05:40:10 PM
I agree about union, not because it is particularly missing, but because it is low hanging fruit.
Title: Re: Set Operations
Post by: William James on March 08, 2012, 05:59:49 PM
Quote from: "Kazimir Majorinc"I agree about union, not because it is particularly missing, but because it is low hanging fruit.


Good news, Kazimir.  Lutz sent me a p.m. indicating that this will be added.