Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!uqcspe!cs.uq.oz.au!warwick From: warwick@cs.uq.oz.au (Warwick Allison) Newsgroups: comp.lang.modula2 Subject: Re: Generic sets module. Anybody interested? Keywords: sets Message-ID: <2144@uqcspe.cs.uq.oz.au> Date: 26 Jun 91 02:10:56 GMT Article-I.D.: uqcspe.2144 References: Sender: news@cs.uq.oz.au Reply-To: warwick@cs.uq.oz.au Lines: 28 (Richard Breuer) writes: >During the last two years of Modula-2 programming I managed to create >a module called SETs which implements the concept of mathematical sets >in Modula-2. This means that sets may contain an arbitary number of elements >(just limited by the target machines heap). I've done one to that implements SET OF CARDINAL or ARRAY CARDINAL OF BOOLEAN. It stores elements in (From,To) pairs, and is intended for arrays exhibiting a high degree of clumping. I'm not going to suggest you ask for a copy. What I would prefer to see is a "comp.sources.modula-2" newsgroup (though this isn't an official call for discussion/ voting etc.). I think that provided we used VERY standard Modula-2, we could produce an excellent library of sources. In particular, the group would be useful for such things as these mathematical abstractions we have mentioned. Feel free to call for discussion, because I would even know how. Warwick. -- _-_|\ warwick@cs.uq.oz.au / * <-- Computer Science Department, \_.-._/ University of Queensland, v Brisbane, AUSTRALIA.