From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: request for a new function, say, `sequence' Date: Tue, 25 Mar 2003 20:38:37 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303260238.UAA26477@eel.dms.auburn.edu> References: <200303230302.MAA04327@etlken.m17n.org> <200303241541.h2OFfbpa011227@rum.cs.yale.edu> <200303250015.JAA06592@etlken.m17n.org> <200303250050.JAA06631@etlken.m17n.org> <200303250057.h2P0vBj6016367@rum.cs.yale.edu> <200303250125.KAA06703@etlken.m17n.org> <32627.1048557446@theforce.Stanford.EDU> <200303250208.LAA06802@etlken.m17n.org> <1191.1048560083@theforce.Stanford.EDU> <200303250446.NAA06974@etlken.m17n.org> <4946.1048568708@theforce.Stanford.EDU> <200303250540.OAA07032@etlken.m17n.org> <200303260018.JAA08092@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048646503 13931 80.91.224.249 (26 Mar 2003 02:41:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2003 02:41:43 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 26 03:41:41 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18y0rF-0003cF-00 for ; Wed, 26 Mar 2003 03:41:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18y0sR-00042r-00 for ; Wed, 26 Mar 2003 03:42:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18y0qA-0007AE-0B for emacs-devel@quimby.gnus.org; Tue, 25 Mar 2003 21:40:34 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18y0p9-0006Gm-00 for emacs-devel@gnu.org; Tue, 25 Mar 2003 21:39:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18y0ns-0005V3-00 for emacs-devel@gnu.org; Tue, 25 Mar 2003 21:38:15 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18y0nR-0004d8-00 for emacs-devel@gnu.org; Tue, 25 Mar 2003 21:37:45 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) h2Q2bcB00427; Tue, 25 Mar 2003 20:37:39 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id UAA26477; Tue, 25 Mar 2003 20:38:37 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: handa@m17n.org In-reply-to: <200303260018.JAA08092@etlken.m17n.org> (message from Kenichi Handa on Wed, 26 Mar 2003 09:18:58 +0900 (JST)) Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12622 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12622 Ken'ichi HANDA wrote: > I think calling the new function `sequence' or `range' is a > mistake. Lisp already has the functions `string' and `vector' > which are data type constructors. Either of the suggested names > sound like a new data type (in fact there is already a data type > called sequence and a predicate sequencep) and so inconsistent > with the current naming conventions. I see your point. > So I suggest that a more descriptive name be chosen -- for > instance something like `make-sequence-of-numbers'. I don't insist on having TYPE argument, always returning a list is ok. So, for instance, make-number-list, is also acceptable. While I agree that `sequence' would be confusing, I personally do not believe that `range' would be. If it is, then I would prefer something like `range-list' or something else with range in the name. We are not talking about an arbitrary sequence or list of numbers, but about a consecutive range. Sincerely, Luc.