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: return-it -> ??? Date: Wed, 13 Jan 2010 21:04:13 +0100 Message-ID: References: <87iqb99dh6.fsf@ambire.localdomain> <871vhutrfd.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263413160 11801 80.91.229.12 (13 Jan 2010 20:06:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 20:06:00 +0000 (UTC) Cc: guile-user@gnu.org To: Thien-Thi Nguyen Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jan 13 21:05:50 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NV9TL-0002nA-Jy for guile-user@m.gmane.org; Wed, 13 Jan 2010 21:05:43 +0100 Original-Received: from localhost ([127.0.0.1]:51919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV9TL-0001vJ-PT for guile-user@m.gmane.org; Wed, 13 Jan 2010 15:05:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NV9TG-0001rd-Kq for guile-user@gnu.org; Wed, 13 Jan 2010 15:05:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NV9TA-0001cR-Hl for guile-user@gnu.org; Wed, 13 Jan 2010 15:05:36 -0500 Original-Received: from [199.232.76.173] (port=40280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV9TA-0001c6-Ef for guile-user@gnu.org; Wed, 13 Jan 2010 15:05:32 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:34761 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NV9TA-00059D-0w for guile-user@gnu.org; Wed, 13 Jan 2010 15:05:32 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id C035D90D01; Wed, 13 Jan 2010 15:03:46 -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=y/5ZaV2AzuwKfTGNorwUJM7BbAY=; b=x7v6co 5mOnSA616rRkHtGpO9bRinxMBMv6LhPggE+Usa+AhBT40E81BVESgjhvPvbL/BRi bS0gNtpv5RuN/R0Mo/6hPn9vJtn2Tyd0NIevbbmHwMi/t1Z40DZDP7hv4GR309jH fuDYXnlooVVT4HRhwUWpFm9zRINeAD+LkixlM= 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=wUqhKCmS12Gaxdoe3PtbT32T9b0zOb3T UhEvAtoxllBjiRKRupVyt1YN3/OlGJgRsdmLbV/xc2gHx8FsH1MJP9DzJwvaov1X SzDKaVX1oDiBX6KqB0mpVOfwryoU96xxKkj5JLnv7CBkEqwobGb6+4w2VAoAoDdH eOZL31lFSxM= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id ACFA090CFF; Wed, 13 Jan 2010 15:03:45 -0500 (EST) Original-Received: from unquote (unknown [81.38.180.33]) (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 EC84A90CFE; Wed, 13 Jan 2010 15:03:43 -0500 (EST) In-Reply-To: <871vhutrfd.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Wed, 13 Jan 2010 08:06:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: C181D0B4-007E-11DF-8940-6AF7ED7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7610 Archived-At: On Wed 13 Jan 2010 08:06, Thien-Thi Nguyen writes: > () Andy Wingo > () Tue, 12 Jan 2010 20:47:02 +0100 > > (define return-it > (case-lambda > (() #f) > ((x . _) x))) > > Is something like this already in Guile? Nope. Probably won't be, either. I think basically if you want a quick port to 1.9, you should make a module that shims 1.9 to have a more 1.4-like interface, and have all of your code use it. `return-it' can go there. Then you can adapt your code later, if you want, or keep using that shim if you want. Andy -- http://wingolog.org/