From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: 1+ and 1- in C Date: Sun, 10 Apr 2005 15:29:19 -0700 Organization: At Home Message-ID: <200504101529.19592.bruce.korb@gmail.com> References: <87is2uuvj7.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113172705 31537 80.91.229.2 (10 Apr 2005 22:38:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2005 22:38:25 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Apr 11 00:38:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKl4M-0005fg-Bp for guile-devel@m.gmane.org; Mon, 11 Apr 2005 00:38:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKkeL-00023P-Oa for guile-devel@m.gmane.org; Sun, 10 Apr 2005 18:11:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKkdg-0001Zi-1H for guile-devel@gnu.org; Sun, 10 Apr 2005 18:10:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKkda-0001X6-E8 for guile-devel@gnu.org; Sun, 10 Apr 2005 18:10:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKkdZ-0001RJ-V8 for guile-devel@gnu.org; Sun, 10 Apr 2005 18:10:37 -0400 Original-Received: from [143.127.3.10] (helo=MTVMIME03.enterprise.veritas.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DKkx7-0006Cc-My for guile-devel@gnu.org; Sun, 10 Apr 2005 18:30:49 -0400 Original-Received: from megami.veritas.com (unverified) by MTVMIME03.enterprise.veritas.com (Content Technologies SMTPRS 4.3.12) with SMTP id for ; Sun, 10 Apr 2005 15:29:20 -0700 Original-Received: from [192.168.1.2]([172.21.49.22]) (962 bytes) by megami.veritas.com via sendmail with P:smtp/R:smart_host/T:smtp (sender: ) id for ; Sun, 10 Apr 2005 15:29:20 -0700 (PDT) (Smail-3.2.0.101 1997-Dec-17 #15 built 2001-Aug-30) Original-To: guile-devel@gnu.org User-Agent: KMail/1.7.1 In-Reply-To: <87is2uuvj7.fsf@zip.com.au> Content-Disposition: inline X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:4895 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4895 On Sunday 10 April 2005 03:17 pm, Kevin Ryde wrote: > I propose to do 1+ and 1- in C so they're as fast as plain + and -. > Calling scm_sum and scm_difference will still get goops/generics > dispatch the same as the scheme code, if I'm not mistaken. Shouldn't the name for the subtraction code be ``less one'' or the alias be ``-1+'' or some such? You are decrementing, yes? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel