Path: csiph.com!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: passing a set of numbers to a function Date: Thu, 04 Feb 2016 17:33:28 +0100 Organization: PointedEars Software (PES) Lines: 28 Message-ID: <1603158.xI32ru06Pi@PointedEars.de> References: <19679ed0-c594-4f7e-817c-a72bd5c10411@googlegroups.com> <22041181.SJtjrm8m6U@PointedEars.de> <87r3gso59h.fsf@bsb.me.uk> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1454603610 27989 eJwFwYEBwCAIA7CXhkCx5zCl/59gkg7DqUAiUqmaOePax0UOv5/d3jmXWxdc1sGKskUTEXo2IRFd (4 Feb 2016 16:33:30 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 4 Feb 2016 16:33:30 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNxccBwDAIA8CVTBFlHJmE/UdI7nOwkJj0QDgWSzlaqY+gmwec5saTp6uG3lfnPdopO2XJ4h9Ci3stDT4fQI4VDg== Cancel-Lock: sha1:FzQfoVq5b2nU/yA56sl6XkYdt+4= X-NNTP-Posting-Host: eJwFwYEBwCAIA7CXhtAq5wws/59gAqexdxAMDKa8z4y5vGQbZaxzBSLXLSlirz95LCPU+tYDKYkRPA== Xref: csiph.com comp.lang.javascript:29529 Ben Bacarisse wrote: > John Harris […] writes: >> […] Thomas 'PointedEars' Lahn […] wrote: >>> Stefan Ram wrote: >>>> The nature of these values depends on the chose of a >>>> method to implement sets. Since it is difficult or impossible >>>> to write a general implementation that implements all >>>> properties of the mathematical concept, […] >>> It may be difficult, but how did you get the idea that it would be >>> impossible? >> I think he may be referring to the difficulty of implementing infinite >> sets. A computer program can only implement small finite sets (small >> relative to a googolplex). > > Computer programs can implement infinite sets though only very few of > them (even fewer, compared to how many there are, than for finite sets). AFAICS there is no intrinsic limit as to the implementation of infinite sets (you just need a flexible enough data model to define them), however it appears to be non-trivial to implement operations on some of them, for example to determine if an item is an element of such a set. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.