From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39748 invoked by alias); 23 Apr 2017 19:29:50 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 39619 invoked by uid 89); 23 Apr 2017 19:29:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Application, kawa, Hx-languages-length:956, connectivity X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 23 Apr 2017 19:29:47 +0000 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1d2NCc-0005r9-TC; Sun, 23 Apr 2017 21:29:47 +0200 Received: from 76-9-77-238-rt-broadband-01.broadband.oakhurst.sti.net ([76.9.77.238] helo=localhost.localdomain) by mailfront12.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1d2NCU-0004m6-O6; Sun, 23 Apr 2017 21:29:39 +0200 Subject: Re: Using #!optional, #!rest, and #!key together To: Sudarshan S Chawathe Cc: kawa References: <5757.1492975493@vereq.eip10.org> From: Per Bothner Message-ID: Date: Sun, 23 Apr 2017 19:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <5757.1492975493@vereq.eip10.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00030.txt.bz2 On 04/23/2017 12:24 PM, Sudarshan S Chawathe wrote: >> I'm in a location with unexpectedly very bad connectivity. Check the >> invoke branch. It allows #!Rest *after* #!Key. See Application and >> arguments list in manual. [I have ok internet connectivity, again, for now.] > Thanks for the suggestion! (I'm not sure why I switched back to master > from invoke a while back.) > > I just switched over to the invoke branch and "rest after key" arguments > seems to work as expected (and also seems forgiving about ignoring extra > arguments). > ;; The next two are really errors. > > (test-args-2 1 2 3 4 5 f: 6 g: 7) > ;; => ((a . 1) (b . 2) (c . 3) (d . 4) (f . 6) (g . 7) (e)) > > (test-args-2 1 2 3 4 5 6 f: 7 g: 8) > ;; => ((a . 1) (b . 2) (c . 3) (d . 4) (f . 7) (g . 8) (e)) I noticed that too. That's a Kawa bug, that I hope to fix soon. -- --Per Bothner per@bothner.com http://per.bothner.com/