From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Neil Jerram" Newsgroups: gmane.lisp.guile.bugs Subject: Re: (< complex) and friends Date: Sat, 20 Sep 2008 01:17:31 +0200 Message-ID: <49dd78620809191617n7f01da06u602c3ca703d11c70@mail.gmail.com> References: <20080811210230.M31889@ccrma.Stanford.EDU> <49dd78620808120218k62cb690aq6251f427fc078a9b@mail.gmail.com> <49dd78620809171437r739ec0cave11d0728165e6292@mail.gmail.com> <20080919132021.M10915@ccrma.Stanford.EDU> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221866265 4164 80.91.229.12 (19 Sep 2008 23:17:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2008 23:17:45 +0000 (UTC) Cc: bug-guile@gnu.org To: "Bill Schottstaedt" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Sep 20 01:18:42 2008 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KgpFJ-0008NZ-Pq for guile-bugs@m.gmane.org; Sat, 20 Sep 2008 01:18:42 +0200 Original-Received: from localhost ([127.0.0.1]:50500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgpEI-0005a8-5I for guile-bugs@m.gmane.org; Fri, 19 Sep 2008 19:17:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgpEE-0005Zl-Jy for bug-guile@gnu.org; Fri, 19 Sep 2008 19:17:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgpED-0005ZL-9S for bug-guile@gnu.org; Fri, 19 Sep 2008 19:17:34 -0400 Original-Received: from [199.232.76.173] (port=48743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgpED-0005ZI-3n for bug-guile@gnu.org; Fri, 19 Sep 2008 19:17:33 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.246]:44755) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KgpEC-0005pW-Q0 for bug-guile@gnu.org; Fri, 19 Sep 2008 19:17:33 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so717103rvb.6 for ; Fri, 19 Sep 2008 16:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4iRERh9T3VVRKidV+8junTcXPgBI/TAoB104as4ABXo=; b=KaEiiN5xFaNeGj18TjVJFTyTrEKcm7LPDfzL/hf9Tj8pKOtjLhbl6CARH3fSJ7i4V7 ODbN0b+0yVjkIwp/VVxP2hFi3kv43ty387wEgZpOUfKVImtvSLbV3aVkj3SbeKvvQXsR ZEYT6poNn/b4DMf8b2nr7+IPFbtC51EZcx3kE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HQrrwBlHnR+0NruyqZIHwmSsto4NxwPDwql0RdT6ZroPay6neW+9RvRIM6j/DduPyd bzbyjmg7YGL9ZNdgutMjwAB20fMAsepPf/N4Rd+3ykysIZ+V5X6TgRGjXw8vBeD9bDVM F4a4z5+nK2R+WBNPx/zN2N7bYz2nSW6J+EGiI= Original-Received: by 10.141.1.2 with SMTP id d2mr384607rvi.129.1221866251548; Fri, 19 Sep 2008 16:17:31 -0700 (PDT) Original-Received: by 10.140.142.15 with HTTP; Fri, 19 Sep 2008 16:17:31 -0700 (PDT) In-Reply-To: <20080919132021.M10915@ccrma.Stanford.EDU> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4010 Archived-At: 2008/9/19 Bill Schottstaedt : > map does not accept no list: > > guile> (map (lambda (a) a)) > > Backtrace: > In standard input: > 1: 0* [map #] > > standard input:1:1: In procedure map in expression (map (lambda # a)): > standard input:1:1: Wrong number of arguments to # > ABORT: (wrong-number-of-args) Right. The number of lists given to map should be the same as the number of parameters the lambda takes. Were you saying that this is a bug, or is this just to set up an analogy with the following? > + and * have a "natural" identity (0 and 1), so it is not silly that (+ a) is > (+ a 0) and (+) is (+ 0 0), but #t does not strike me as a natural identity > for < -- (< 1 1) is #f. But I hate these kinds of discussions, so I defer... The value of (<) seems natural to me... but I admit that I can't explain really clearly why that is! And then there's (and) and (or) ! Nevertheless, I still don't see any significant impact anywhere here. Please explain further if you do. Regards, Neil