Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-30 Thread Roger Light
Hi Frank, In my opinion if you need the tool, write it - don't worry about what anybody else thinks. If other people want it as well then that's the point to worry about distro support. Cheers, Roger

Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-30 Thread Frank Stähr
Am 26.09.2015 um 16:49 schrieb Gianfranco Costamagna: Thanks for this hint, and Gianfranco, also thanks for your answer, especially the link. I should have stated more precisely that setop shall be a command line tool. Python sets and combine are interesting but not as much universal as I plan

Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-28 Thread Rick Thomas
On Sep 25, 2015, at 9:11 AM, Frank Stähr wrote: > I am ,,, going to program a tiny tool: > > “setup" takes as inputs several lists/sets, calculates desired (mathematical) > set operations on them and outputs the final set (or depending on operation > resulting number

Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-28 Thread Alex Vong
Hi Frank, I think I know a language that will do what you want, it is called LISP! Lisp stands for `list processing language' or `lots of irritating superfluous parentheses' when it doesn't. Lisp allows you to program as if you were writing mathematics, aka functional programming. I learned Lisp

Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-26 Thread Frank Stähr
Am 25.09.2015 um 22:20 schrieb Jakub Wilk: * Frank Stähr , 2015-09-25, 18:11: So my questions is: Is there a need for such a program or is there already something very similar? There's combine(1) in moreutils for boolean operations on sets. Thanks for this hint, and

Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-26 Thread Gianfranco Costamagna
Hi, >Thanks for this hint, and Gianfranco, also thanks for your answer, >especially the link. I should have stated more precisely that setop >shall be a command line tool. Python sets and combine are interesting >but not as much universal as I plan my program to be. well, I fail to

Suggestion of new program: execute mathematical set operations on lists

2015-09-25 Thread Frank Stähr
Hello everybody, I am not yet looking for a sponsor, but going to program a tiny tool: "setop" takes as inputs several lists/sets, calculates desired (mathematical) set operations on them and outputs the final set (or depending on operation resulting number of elements, answer yes/no, …).

Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-25 Thread Jakub Wilk
* Frank Stähr , 2015-09-25, 18:11: I am not yet looking for a sponsor, but going to program a tiny tool: "setop" takes as inputs several lists/sets, calculates desired (mathematical) set operations on them and outputs the final set (or depending on operation resulting

Re: Suggestion of new program: execute mathematical set operations on lists

2015-09-25 Thread Gianfranco Costamagna
Hi, a quick googling returns me this link [1] seems that python natively do some sort of this python3 >>> a = set([3, 3, 2, 5, 1]) >>> a {1, 2, 3, 5} >>> b = set([5, 90, 2, 7]) >>> b {90, 2, 5, 7} >>> a | b {1, 2, 3, 5, 7, 90} >>> a & b {2, 5} >>> [1]

Re: Suggestion of new program: execute mathematical set operations on lists

2013-11-03 Thread Frank Stähr
Am Mittwoch, den 30.10.2013, 16:21 + schrieb Elmar Stellnberger: Well, I had once programmed a tool like this called mset (multiset) Yes, it seems to be possible to combine set and multiset operations by an option (i. e. -m switches to multisets), I didn’t thought of that. Of course, your

Re: Suggestion of new program: execute mathematical set operations on lists

2013-11-03 Thread Elmar Stellnberger
Am 03.11.13 15:43, schrieb Frank Stähr: Am Mittwoch, den 30.10.2013, 16:21 + schrieb Elmar Stellnberger: Well, I had once programmed a tool like this called mset (multiset) Yes, it seems to be possible to combine set and multiset operations by an option (i. e. -m switches to multisets), I

Suggestion of new program: execute mathematical set operations on lists

2013-10-30 Thread Frank Stähr
Hello everybody, I am not yet looking for a sponsor, but going to program a tiny tool. Because I am unexperienced and don’t want to do all the work for nothing, first of all: Is this tool senseful, is there a certain need for it? I am very interested in your opinions, hoping that this list is

Re: Suggestion of new program: execute mathematical set operations on lists

2013-10-30 Thread Elmar Stellnberger
Well, I had once programmed a tool like this called mset (multiset) and it is still on my hard disk though releasing it would require some kind of testing and quality assurance (I call the package leutils). First of all the xchroot package I have just released would need to get accepted before I