From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: case-lambda* question Date: Mon, 14 Jan 2013 10:39:38 +0100 Message-ID: <87bocst86d.fsf@pobox.com> References: <7A088671-9922-4ECF-A5C5-841AEFDBCA80@bluewin.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358156401 20422 80.91.229.3 (14 Jan 2013 09:40:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 09:40:01 +0000 (UTC) Cc: guile-user@gnu.org To: Daniel Llorens Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 14 10:40:17 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TugWe-0002Mh-U3 for guile-user@m.gmane.org; Mon, 14 Jan 2013 10:40:17 +0100 Original-Received: from localhost ([::1]:49544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TugWO-0007Mp-Ox for guile-user@m.gmane.org; Mon, 14 Jan 2013 04:40:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TugWE-0007Mh-Qp for guile-user@gnu.org; Mon, 14 Jan 2013 04:39:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TugW6-0000R3-0y for guile-user@gnu.org; Mon, 14 Jan 2013 04:39:50 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:54609 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TugW5-0000Qz-TM for guile-user@gnu.org; Mon, 14 Jan 2013 04:39:41 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 623329164; Mon, 14 Jan 2013 04:39:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Q8mdmcGe7lAVmwZ0+J6DFJB8gxY=; b=Mklqxw G44boH6GASfQvU3/MlvNbyszctRyjzqxAx5rLsfc6AK/bKY25YEHhq2/YoRlpI+b LyX1CuVMJDMMBW4XWuvW/KaGacK9BoUKdtnuEOiwmGBtLfCfHvR/fZG1X7GQvJNt nts3m/CsmLArnbV7hOThKjOZMnMXoeWhwl7K4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=i+cM3fHKz1It4zShTsdGLbNZox3Ra44A X5L1g0iInXvQF+XUz5U9zhm/z3HldgLd51OzWVjruYRGnKmNLCH1UCqW5SjQXRE5 qJY2aUjAyH3RjmBd9P34f+ZMkqIrbFh2VaQGiUuZ1Ib5J2vrkXTkUSAMZvnSaMLS jpdJONGMktE= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 5B0B49163; Mon, 14 Jan 2013 04:39:41 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id E1AEC9162; Mon, 14 Jan 2013 04:39:40 -0500 (EST) In-Reply-To: <7A088671-9922-4ECF-A5C5-841AEFDBCA80@bluewin.ch> (Daniel Llorens's message of "Wed, 14 Nov 2012 11:20:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 51EC5EA2-5E2E-11E2-BC16-0A4F0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9855 Archived-At: On Wed 14 Nov 2012 11:20, Daniel Llorens writes: > (pass-if "case-lambda*" > (null? (call-with-warnings > (lambda () > (compile '(let ((f (case-lambda* > ((x #:optional y) 1) > ((x #:key y) 2) > ((x y #:key z) 3)))) > (list (f 1) > (f 1 2) > (f #:y 2) > (f 1 2 #:z 3))) > #:opts %opts-w-arity > #:to 'assembly))))) > > I also get an error here. Strangely, I can run make check without > anything being reported. The test doesn't actually run the result, it just compiles it. That's why it "works". Andy -- http://wingolog.org/